The clearing div, should if possible not contain any letter, or HTML
element at all, but some browsers, specifically IE 6 and lower will
try to apply, default line-height, font-size and so on, although there
is no content present, meaning that the clearing div will then occupy
some space and so leave gaps between various elements, where none
should be.

Another way to circumvent this, is to simply play "<!-- -->" comment
tags inside the clearing div. Also be sure to add some CSS attributes
to the clearing div, like line-height: 0; height: 1px;.... and others
that will override possible default styles for content.

regards, Jens

-- 
So long, and thanks for all the fish!
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to