ie6 double float margin bug

Here is the quickest fix I have found for fixing the ie6 double float margin bug, where all margin values are doubled on floating elements.

Just apply:#element { display: inline; }

And the element float will be rendered as expected. Go figure...Thanks to http://www.positioniseverything.net/explorer/doubled-margin.html for shining a light on, and fixing this issue.

Published on

Filled under

Discuss!

comments powered by Disqus