This sounds like it might be related to a bug I have been seeing lately where a <hr> tag in an enclosing <div> keep sneaking up into the pane of a sibling <div> that was float:right, instead of ruling across the entire enclosing <div>. Though I'm not using 'clear', just 'float:left' and 'float:right' to manage to sibling panes.
Shouldn't the container grow to include the floats? That was my take on the CSS 2.1 rules. William "Robert O'Callahan" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I've checked in the fix for bug 209694 which makes us much more > compatible with the (extremely complex) CSS 2.1 rules for the > interaction of margin-collapsing and 'clear'. If you notice strange > things now happening on pages using 'clear', check the CSS 2.1 rules > very carefully before filing a bug... > > One nice effect of this fix is that markup like this now works: > > <div style="background:yellow;"> > <div style="float:left;">...</div> > <div style="clear:both;"></div> > </div> > > This should make the yellow DIV's height grow to include the entire > float. But before the fix, we didn't do that right. With the fix, it > works. This is very useful for authors who want to emulate IE's > non-standard behaviour of always growing the container to include the > floats. > > Rob _______________________________________________ mozilla-layout mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-layout
