Return to Snippet

Revision: 4915
at January 28, 2008 19:37 by Tate


Initial Code
display: inline;

Initial URL
http://scarfoo.com/archives/16

Initial Description
This one has saved me a lot of headaches, because IE 6 has a tendency to double the margins of every element, which has been floated and assigned a left/right margin. To overcome this bug, simply set display: inline on the offending element. This will magically make the bug disappear with no adverse effects on your layout.

Initial Title
Get rid of double margin in IE

Initial Tags


Initial Language
CSS