Previous Message
Next Message

gap between divs

Sent by Shaun Inman on 10 November 2003 21:09


On 11.10.03 4:24 PM, "Christy Collins" [EMAIL-REMOVED]> wrote:

> I am getting a gap between my header div and my content div on Safari
> and Netscape, but not IE (all Mac).

Setting the top margin of your h2.title to 0 will do the trick. I've noticed
this behavior before with <p> tags. Anyone know why margin-top extends
outside of the containing element in modern browsers? Is that what the spec
actually calls for?

Cheers,
Shaun

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: