Jeff Chastain wrote:
> Well, okay, bad example, but you get the idea.  I just found another article
> that said the same thing ... float all or float none.  That is not a
> detractor to CSS or anything ....
>   

Just for the sake of completeness, you don't have to float the other div 
that contains the cleared element. You just need to do something that 
establishes a new block formatting context.[1] Floating is usually the 
best/easiest way to do this, but occasionally you just can't float the 
div in question. In those cases, try one of the other methods.

[1] http://www.w3.org/TR/CSS21/visuren.html#q15

Zoe

-- 
Zoe M. Gillenwater
Design Services Manager
UNC Highway Safety Research Center
http://www.hsrc.unc.edu


______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- 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