Return to Snippet

Revision: 22084
at December 31, 2009 11:09 by CDIDevs

Initial Code

Initial URL

Initial Description
For instances where you have an empty div that is less than about 10-15px in height. IE assumes it should contain something and allots room for text.

I first found this on the forums. The fix here is ultimately the "font-size:0" declaration. The rest are for good measure...

Initial Title
IE6 Empty Div Adds Margin - Fix

Initial Tags

Initial Language