[WSG] CSS list spacing: margin or line-height?

2005-05-18 Thread Matt Thommes
I've noticed that the CSS 'line-height' property provides extra spacing between list items, such as in an ordered list, unordered list, as well as definition lists. In the past, I've always used the 'margin' property to add spacing between list items. IE: ul li { margin-bottom: 5px; } However,

Re: [WSG] CSS list spacing: margin or line-height?

2005-05-18 Thread Bert Doorn
G'day I've noticed that the CSS 'line-height' property provides extra spacing between list items, such as in an ordered list, unordered list, as well as definition lists. ... I was wondering if anyone else uses 'line-height' - or do most people use 'margin'? I'd stick with margins (or padding)

Re: [WSG] CSS list spacing: margin or line-height?

2005-05-18 Thread Thierry Koblentz
Matt Thommes wrote: I've noticed that the CSS 'line-height' property provides extra spacing between list items, such as in an ordered list, unordered list, as well as definition lists. I try to favor line-height rather than padding if I'm dealing with an element that is styled with a height