Bill Brown wrote: > I get the bottom margin on some OS/Browser combos as well, but more > often, it collapses. I haven't checked the spec yet, but I suspect > that > this behavior is incorrect because it isn't countered by the normal > collapsing margin fixes (application of padding or border between > elements). I could be totally off-base there though: I'm only on my > first cup of coffee. > > Test Page: > http://theholiergrail.com/focus-on-style/bottom-margin-collapse-with-overflow-auto.html
That is not a case of 'margin-collapsing'. :-) In this case, the bottom-margin of the last-child paragraph is swallowed by the overflow on the parent box (the one with overflow:auto and height:100% set). You'd have to look at CSS2.1:10.6, esp 10.6.3 and 10.6.6 (which is not so clear), and check CSS2.1:8.3.1 Opera 9.5, Gecko 1.9 (fx3), gecko 1.91.pre, WebKit (nightly build and Safari 3.1) are consistent in this. IE6 & 7 also swallow the bottom-margin, as 'hasLayout' is true on the parent box. See also this thread: http://lists.w3.org/Archives/Public/www-style/2008Feb/thread.html#msg0 Philippe --- Philippe Wittenbergh http://l-c-n.com/ ______________________________________________________________________ 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/