PDA

View Full Version : How do you create an ordered list in html with a space between each line?


Keiko
10-11-2007, 02:50 AM
How do you create an ordered list in html, where each line has a space between it?

I've been using something like this:

<ol>
<li> list item 1..... </li>
<li> list item 2 .... </li>
<li> list item 3 .... </li>
</ol>

but that outputs something like this:

1. list item 1.....
2. list item 2.....
3. list item 3.....

When I'm really after something like this (although with smaller spaces between each line) :

1. list item 1.....

2. list item 2.....

3. list item 3.....

Thanks
The code will be part of a wordpress.com blog and I can't edit the CSS, thanks for the idea though.

Cheyenne S
10-11-2007, 02:58 AM
put one <BR> after every item you list, and for a space between the lines use <BR><BR>

Chloe N
10-11-2007, 03:47 AM
put <br><br> after every item.
for instance..

1. list item 1.....<br><br>
2. list item 2.....<br><br>
3. list item 3.....<br><br>