I have always used the good old method of a spacer DIV like this to
clear floats:

<div class="spacer"></div>

div.spacer { clear: both; }

Problem is, the ad agency that I work with keeps creating these
complex layouts where using that convention just won't work. The
reason is that in IE the spacer DIV has a height of about 10 pixels.
In Firefox, etc. you can get around it by setting the height to 0px,
but that doesn't work in IE 6 and 7.

So what's the best method to use these days?

-- 
Randal Rust
R.Squared Communications
www.r2communications.com
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to