PDA

View Full Version : Spacing out individual lost items: how?


Grant Palin
05-07-2003, 06:20 PM
Like the subject says, how can you put space between individual list items? I mean, instead of:

item one
item two

I want:

item one

item two

Can it be done with HTML or CSS? I tried putting a <br> tag inside each list item, but there was no change-just the new line sperating the list items. I want more space vertically.

Roy Sinclair
05-07-2003, 06:38 PM
Use a CSS style sheet:


<head>
...
<style type="text/css">
li { margin-bottom: 1em; }
</style>
...
</head>
<body>
...
<ul>
<li>Item one</li>
<li>Item two</li>
</ul>
...
</body>


Adjust the "1em" to increase or decrease the space (you can use fractional numbers like 1.5em or a different unit of measure like 15px for the size).

Grant Palin
05-09-2003, 02:16 AM
That did the trick. Thanks!:thumbsup: