deelan wrote:
I cannot understand why there's a gap between the two backgrounds. It seems caused by the #main's "margin: 50px auto" property. To my understanding if margin is applied to a DIV and BODY has a margin: 0 value background image it should overlap the HTML background. Am i
missing something obvious here?

See http://www.w3.org/TR/CSS21/box.html#collapsing-margins

If you apply that algorithm here, the collapsed top margin is 50px.

-Boris
_______________________________________________
mozilla-layout mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-layout

Reply via email to