Re: [CSS21] block formatting context/floats

On Wed, 1 Oct 2003, staffan.mahlen@comhem.se wrote:
>
> How do nested and adjacent block formatting contexts interact?

Depends on how they are formed. Floats, for instance, generate block
formatting contexts, and flow around each other as per section 9.5.

In general, formatting contexts grow to contain their in-flow floats, but
do not grow to contain out-of-flow content. However, for specific rules,
you have to refer to the spec. For example, 'overflow:scroll' generates a
new block formatting context that grows to contain any out-of-flow content
(assuming the 'overflow:scroll' box is the containing block of the
absolutely positioned block, or is a containing block ancestor of the
containing block of the absolutely positioned block.

Does that answer your question?

-- 
Ian Hickson                                      )\._.,--....,'``.    fL
U+1047E                                         /,   _.. \   _\  ;`._ ,.
http://index.hixie.ch/                         `._.-(,_..'--(,_..'`-.;.'

Received on Sunday, 12 October 2003 09:50:55 UTC