Big John schrieb:
Here are the relevant citations:
http://www.w3.org/TR/2004/CR-CSS21-20040225/visudet.html#root-height
"if the element has any floating descendants whose bottom margin
edge is below the bottom, then the height is increased to include
those edges."
Combine this with the rules for overflow:auto:
...
The day I read about this link in Anne's reply to Roger, and all nodded,
I felt like left alone in the dark (not that this is not common to me).
- What is a "block formatting context root"?
- Where, if any, is the special relationship between such a block
formatting context root and the overflow property?
- Where is sense in the ability of the containing element, via overflow,
to manipulate its overflowing, when the offending element is taken "out
of the flow", like floats are?
sigh.
That's for the understanding.
And in praxi:
Ok, to feed IEMac, I've heard I shall use overflow:hidden instead of
auto to omit scrollbars.
But what if, in IE5.5/Win, there must be a Holly hack given on the
containing element for some reasons too? It will collapse to 1% height.
And Opera, brand new toy, is so buggy with overflow at all.
And a negative margined float will cause a horizontal scrollbar (:auto)
in Moz/Opera by expanding the container horizontally, or is gone
(:hidden) in Opera.
To me, it's not that super simple.
Ingo
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/