[css-d] Cleared div is affected by a float outside its ancestor tree

2006-05-27 Thread Charles Blaquière
I hate having to ask this question in public, but I have no choice. You know how sometimes, everything you thought you knew seems wrong? This is one of those times. Here's a beginner question from a not-so-beginner. Have a look at this demo page: http://blaqzone.com/Temp/toto.html I'm

Re: [css-d] Cleared div is affected by a float outside its ancestor tree

2006-05-27 Thread Els
Charles Blaquière wrote: I'm creating a 2-column layout with a floated left column. The right column may wind up containing both left and right floats, so I'll need to use clear:both on some of its elements at some point. Unfortunately, the cleared element gets pushed below the bottom of

Re: [css-d] Cleared div is affected by a float outside its ancestor tree

2006-05-27 Thread Gunlaug Sørtun
Charles Blaquière wrote: http://blaqzone.com/Temp/toto.html Is there something I can do to prevent the left column from affecting children of the right column? Pick and choose... Standardized 'block formatting contexts' for the good browsers: http://www.w3.org/TR/CSS21/visuren.html#q15