2 replies [Last post]
NewYawkSeahawk
Offline
Regular
Last seen: 13 years 31 weeks ago
Joined: 2007-05-15
Posts: 32
Points: 0

Hello,
I know you can create Line-height to control the height between lines, but is there a way to control the distance (height wise) between LI items?

I can put a <BR> after each LI I suppose, but I was wondering if it is possible to define how much empty space separates the end of one LI and the beginning of a new one?

thanks!

//mod edit: < symbol escaped. --gary/kk5st

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 47 weeks 3 days ago
Dallas
Timezone: GMT-6
Joined: 2004-06-25
Posts: 9776
Points: 3858

Or, you could use margin: li

Or, you could use margin:

li {
  margin: 1em 0;
  }

cheers,

gary

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.

NewYawkSeahawk
Offline
Regular
Last seen: 13 years 31 weeks ago
Joined: 2007-05-15
Posts: 32
Points: 0

Hey Gary./....As always

Hey Gary./....

As always thanks so much...

I dont know why I didnt think of that... guess it was so simple, I didnt think margin could be used on LIs, LOL

As you can tell by the timestamp.. it was late here... not thinking straight!

:bigoops: