Sent by Charles Wyke-Smith on 8 November 2004 01:01
Dave wrote (amongst other things : )
> As soon as that <div> gets some content, the clear is respected;....
I've found another way; I often temporarily turn on the border on a div
wrapper so I can check if it's actually clearing the floats, and I've
noticed that an empty div will clear in the Moz and NN7 if the border-bottom
is on. (For those who haven't read it elsewhere, IE and Opera will wrap an
empty clearing div.)
As soon as you turn the border-bottom off, the div fails to wrap. So if you
are concerned that whatever you put in the clearing div might show under
certain circumstances, perhaps you can try border-bottom on instead with
something like:
div#wrapper {border-bottom:1px solid #FFF;}
for use on a white background, then it doesn't show. Anyone else noticed
this, or use it when wrapping floats?
Charlie
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/