Latest Lists

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

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.

Public Comments

  1. 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>
  2. put one <BR> after every item you list, and for a space between the lines use <BR><BR>
  3. A XHTML compliant way is either putting a <br /> tag between each one, or you can use CSS and put some padding on it. I.E. <LI class="classnamehere"> Your CSS would look something like: LI {padding-top:5px; or line-height:1.5em}
Powered by Yahoo! Answers