> "I mean contain in the vertical dimension: floats are removed from the flow,
> and as such don't affect the height of the parent element, unless that
> parent element is set to contain those floats, by having a clearing element
> inside, or use a property that establishes a new block formatting context,
> per CSS2.1:9.4.1"
>
> I believe this is something to do with this.

> I have added display:block; property to the container. In order to respond
> to: "a property that establishes a new block formatting context" - but isn't
> this?

I believe the standard way to deal with this is "overflow:hidden" on
the containing element.
Otherwise you have to use "clear" on the following element.

-- 
Ed Seedhouse
______________________________________________________________________
css-discuss [[email protected]]
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/

Reply via email to