Within a
element, clearly the vertical spacing between lines can be formatted with the line-height attribute.
My question is, within a
To apply to an entire list, use
ul.space_list li { margin-bottom: 1em; }
Then, in the html:
<ul class=space_list>
<li>A</li>
<li>B</li>
</ul>
You can use margin. See the example:
http://jsfiddle.net/LthgY/
li{
margin: 10px 0;
}
I would be inclined to this which has the virtue of IE8 support.
li{
margin-top: 10px;
border:1px solid grey;
}
li:first-child {
margin-top:0;
}
JSFiddle