Within a <ul> element, clearly the vertical spacing between lines can be formatted with the line-height attribute.
<ul>
My question is, within a <ul> element, how do I set the vertical spacing between the list items?
You can use margin. See the example:
http://jsfiddle.net/LthgY/
li{ margin: 10px 0; }
How can I center an unordered list of <li> into a fixed-width div?
With the following HTML, what is the easiest method to display the list as two columns? <ul> <li>A</li> <li>B</li> <li>C</li> &…
Is there a way to create a list-style in HTML with a dash (i.e. - or – – or — —) i.e. <ul> <li>abc</li> </ul> Outputting: - abc …