Hi,

Silly question:

I have three floats like so:

<div>float:left</div>
<div>float:right</div>
<div>foat:left, width:100%</div>

For the third float, do I need clear:both?

I thought it would not hurt to add clear:both to the last div, but
I've run into problems with IE <= 7. If I remove the clear property,
then the last div clears both floats (which makes sense, because it's
100% width).

Just curious (mostly wanting confirmation): Is it true that clear:both
is superfluous if the div that needs to clear previous floats has a
100% width? Is there a situation/browser that might require
clear:both?

TIA!

Cheers,
Micky
______________________________________________________________________
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