IE5 has a bug that can put extra space between list items. Setting the
li to be inline fixes this issue.
http://www.andybudd.com/archives/2003/12/
css_crib_sheet_1_gaps_between_vertical_nav_elements_in_ie5/
Andy Budd
http://www.message.uk.com/
On Tue, 11 Jan 2005 10:03:58 +, Andy Budd [EMAIL PROTECTED] wrote:
IE5 has a bug that can put extra space between list items. Setting the
li to be inline fixes this issue.
Setting height:1%; also fixes that bug.
Zoom:1.0; fixes the bug in IE 5.5 and 6, but not 5.0 (plus it's
invalid
Dean | eCreate wrote:
How do I set the spacing between items in an unordered (or ordered) list?
Thanks,
Dean
You can only set the padding and margin properties if the LI element is
block or inline-block. Not inline, I'm afraid. (AFAIK!)
ul (or ol) li {
display: block;
padding: 0.5em;
How do I set the spacing between items in an unordered (or
ordered) list?
Thanks,
Dean
Dean-
Set the padding or margins on the li tags. ex:
html
ul id=foo
liItem One/li
liItem Two/li
/ul
css
foo li {margin-bottom: 1em;}
HTH
Regards,
Ron
How do I set the spacing between items in an unordered (or ordered) list?
Thanks,
Dean
--
Dean Matthews [EMAIL PROTECTED]
eCreate http://www.eCreate.com
**
The discussion list for
You can only set the padding and margin properties if the LI element is
block or inline-block. Not inline, I'm afraid. (AFAIK!)
or you can set line-height on inline li element.
--
regards, Kornel Lesiski
**
The discussion list for