On Apr 4, 2007, at 4:59 PM, Brandon Oto wrote: > Hi all, > > I was helping a friend solve a problem just now and was able to > isolate a bug that's caused by a clear:left or clear:both on an > element; the first div in a series ends up with a bunch of extra > whitespace (several lines) before the cleared element, but the rest > of the divs are fine. This is in Safari, Firefox, Opera, not in IE6 > or 7 on Win. > > clear: right has no such problems and using it was how I resolved his > layout. > > Has anyone seen this bug before? If not, I can throw together a quick > isolated test case for the general edification.
Well, I hammered it out. It's either a widespread confusion in implementation, or I'm just not grasping the point of how clear works; I'm sort of assuming it's the latter, but someone can confirm. Basically it comes down to whether clears are supposed to have influence outside of the containing element. I did not think so; I thought they only cleared as far as their parent; however, I never used floats much, so I'm probably wrong. Easily illustrated as such: http://degreesofclarity.com/misc/test.html - Brandon ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- 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/