HighDots Forums  

Control UL Line Spacing

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Control UL Line Spacing in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
storkbiz
 
Posts: n/a

Default Control UL Line Spacing - 11-20-2004 , 02:10 PM






Is there a way within CSS to control the amount of space between list items in an unordered list? I've tried adjusting the margin spacing, as I would with a <p>, but to no avail.

Thanks,
Gary

Reply With Quote
  #2  
Old   
Joe Nagy
 
Posts: n/a

Default Re: Control UL Line Spacing - 11-20-2004 , 02:20 PM






Gary,

I think that you are looking for line-height, used as:
style="line-height:90%;"

Joe

"storkbiz" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Is there a way within CSS to control the amount of space between list
items in an unordered list? I've tried adjusting the margin spacing, as I
would with a <p>, but to no avail.
Quote:
Thanks,
Gary



Reply With Quote
  #3  
Old   
twocan's
 
Posts: n/a

Default Re: Control UL Line Spacing - 11-20-2004 , 03:07 PM



p { margin-top: 5px; margin-bottom:5px; } /* adjust to suit */


twocan's








"storkbiz" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Is there a way within CSS to control the amount of space between list
items in an unordered list? I've tried adjusting the margin spacing, as I
would with a <p>, but to no avail.

Thanks,
Gary



Reply With Quote
  #4  
Old   
Joe {RoastHorse}
 
Posts: n/a

Default Re: Control UL Line Spacing - 11-22-2004 , 07:45 AM



nope. line-height will set the leading (space between wrapped lines of
text). use margin or padding on the <li> to separate items


joe





Joe Nagy wrote:
Quote:
Gary,

I think that you are looking for line-height, used as:
style="line-height:90%;"

Joe

"storkbiz" <webforumsuser (AT) macromedia (DOT) com> wrote in message
news:cno4rg$8bj$1 (AT) forums (DOT) macromedia.com...

Is there a way within CSS to control the amount of space between list

items in an unordered list? I've tried adjusting the margin spacing, as I
would with a <p>, but to no avail.

Thanks,
Gary




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.