On Oct 18, 2011, at 7:14 PM, Ghodmode wrote: > A DIV is "an element in the normal flow that establishes a new block > formatting context" and its default overflow value is 'visible', > right? Yes and no. By default that div doesn't establish a new block formatting context - the condition for overflow is "block boxes with 'overflow' __other__ than 'visible'"
> So the preceding floated element should be cleared and the > DIV.banner should be placed adjacent to it because there is sufficient > space. > > So, what do I have wrong? The floated block is removed from the flow; the div in question slides under that floated block, but the floated block pushes all inline content to the side. Once you make the div a new block formatting root (with overflow: hidden/scroll/auto), the div becomes narrower per the explanation you quoted: http://www.w3.org/TR/CSS21/visuren.html#bfc-next-to-float Philippe -- Philippe Wittenbergh http://l-c-n.com/ ______________________________________________________________________ css-discuss [css-d@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/