Forum Moderators: not2easy

Message Too Old, No Replies

Padding wierd in Mozilla

         

mark l sanders

10:01 pm on Jan 24, 2004 (gmt 0)

10+ Year Member



I've got a float left navbar with an H2 followed by several links.
Padding and margin are set. The div lives is a child of <body> only - no other divs.
In IE and Opera, the top paddingis great - nice small gap between the border and top of H2 element. In Mozilla it's 5x as large - much too big.
all advice appreciated!

iamlost

12:07 am on Jan 25, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Welcome to WebmasterWorld, mark l sanders!

Add: div#nav-whatevername h2 {margin-top: 0;}

mark l sanders

9:42 am on Jan 25, 2004 (gmt 0)

10+ Year Member



thanks very much. that's fixed it.