2010/4/19 MEM <[email protected]> > Hello all, > > I have a container that stops containing when it finds a section element > that was previously inserted and a display:block; property added. > > The markup: > http://lab.webhs.pt/webhs_testes/apregi/test_01.php > > The css: > http://lab.webhs.pt/webhs_testes/apregi/Css/Main.css > > I have passed my eyes several times to see in any element wasn't properly > closed. But since it's validated, I presume everything is properly closed. > > > Any clues about what could the problem be please? > > > Add-on:
I'm more or less aware that: Quoting: "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? What is a "clearing element inside" in this context ? (is it something to do with the clear fix method?) Thanks again, Márcio ______________________________________________________________________ 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/
