Closed Thread Icon

Topic awaiting preservation: Space Between LI's Pages that link to <a href="https://ozoneasylum.com/backlink?for=8722" title="Pages that link to Topic awaiting preservation: Space Between LI&amp;#039;s" rel="nofollow" >Topic awaiting preservation: Space Between LI&#039;s\

 
Author Thread
Wes
Paranoid (IV) Mad Scientist

From: Inside THE BOX
Insane since: May 2000

posted posted 06-17-2003 01:40

Do we even talk about plain ol' CSS in here?

What I want to do is add a bit of line space between line items in an unordered list. Not between every line, just between the last line of one item and the first line of the next item.

In other words, what was this...

* Here is the first item
   that is in the list.
* Here is the second item
   that is in the list.


...becomes...

* Here is the first item
   that is in the list.

* Here is the second item
   that is in the list.


I don't want a full line in-between, mind you. I can do that by adding a <P> before the <LI>. I want a controllable amount of vertical space.

For the life of me, I can't figure out how to do it without using spacer images.




[This message has been edited by Wes (edited 06-17-2003).]

JKMabry
Maniac (V) Inmate

From: out of a sleepy funk
Insane since: Aug 2000

posted posted 06-17-2003 02:00

li {
padding-bottom : 100px;
font : 12px verdana;
}

that'll do it!

Jason

Emperor
Maniac (V) Mad Scientist with Finglongers

From: Cell 53, East Wing
Insane since: Jul 2001

posted posted 06-17-2003 02:20

JKMabry: That'll more than do it you prankster

Wes:

quote:
Do we even talk about plain ol' CSS in here?



No we discuss that in the CSS forum

Now where did we put it??

There are further complications due to the odd box models used in LI - I'll dig out a link.......

[edit: Ahhhhhhhhh its this one:
http://devnull.tagsoup.com/list/

should prove useful

I'll also move this to the CSS forum.................]

___________________
Emps

FAQs: Emperor

« BackwardsOnwards »

Show Forum Drop Down Menu