On Thursday 2005-05-12 18:31 -0400, dann s washko wrote:
This is because vertical margins collapse. Hn and P elements have nonzero margin-top and margin-bottom from the user-agent style sheet. This margin-top collapses with the (zero) margin-top of the DIV (with class="content") and the collapsed margin ends up *outside* the DIV.
-David
That makes sense, but brings a question to my mind. If the margin ends up outside the content div, and then outside the parent div into the body; why does it not "push into" the preceeding div (in this case the "header" div)?
Why would it allow the inside to "spill out" but not the outside to "spill in" if vertical margins collapse?
Thanks for you assistance, I very much appreciate.
-- Dann S. Washko The Linux Link Web Radio Portal Check Us Out http://www.thelinuxlink.net get slack (www.slackware.com) and get happy
______________________________________________________________________ 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/
