Re: [WSG] list spacing

2005-01-11 Thread Andrew Krespanis
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 CSS...EVIL!).
hasLayout = true in javascript also fixes the bug.

Andrew.

http://leftjustified.net/
**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
**



Re: [WSG] list spacing

2005-01-11 Thread Andy Budd
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/
**
The discussion list for  http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
**


Re: [WSG] list spacing

2005-01-10 Thread Kornel Lesinski

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 LesiƄski
**
The discussion list for  http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
**


[WSG] list spacing

2005-01-10 Thread Dean | eCreate
How do I set the spacing between items in an unordered (or ordered) list?

Thanks,

Dean

-- 
  Dean Matthews   <[EMAIL PROTECTED]>
  eCreate 
**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
**



RE: [WSG] list spacing

2005-01-10 Thread Pringle, Ron
> How do I set the spacing between items in an unordered (or 
> ordered) list?
> 
> Thanks,
> 
> Dean

Dean-

Set the padding or margins on the  tags. ex:

html


Item One
Item Two


css

foo li {margin-bottom: 1em;}



HTH

Regards,
Ron
**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
**



Re: [WSG] list spacing

2005-01-10 Thread David R
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;
   margin: 1.5em;
}
HTH
--
-David R
**
The discussion list for  http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
**