Previous Message
Next Message

Mac & Mozilla gaps on a horizontal UL (with inline LI's)

Sent by Michael Wilson on 2 November 2004 18:06


Hi,

Another tip is to reset the margin and padding for *everything* to 0 
right off the bat using:

* {
     margin: 0;
     padding: 0;
}

Then you can go back and restyle specific elements with margin and 
padding values, which *should* be consistent across browsers. For 
example you might then specify:

h1, h2, h3, h4, h5, h6 {
     margin: 20px 0;
}

ul, ol {
     margin: 20px;
}

li, dd {
     margin-left: 40px;
}

Best regards,
Michael Wilson

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
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/
Previous Message
Next Message

Message thread: