Bug Fix: IE Double Margin Float Bug

/ Published in: CSS
Save to your folder(s)

It’s an Internet Explorer-exclusive bug wherein an element that is floated – and given a margin in the same direction as the float – ends up with twice the specified margin size. The fix is extremely simple. All you have to do is apply a display: inline rule to your floated element.

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.