...

View Full Version : XHTML strict:Adding break between line tags



us3rd4n
07-20-2007, 06:24 AM
I have a list and i would like to add a space between the <li> items.

Has to be XHTML strict, so we cant use a <br /> tag.

Example:
<ul>
<li>item one</li>
space
<li>item two</li>
space
<li>item three</li>
</ul>

Any ideas?

_Aerospace_Eng_
07-20-2007, 06:25 AM
In CSS.

ul li {
margin-bottom:15px;
}

us3rd4n
07-20-2007, 06:43 AM
That worked! Thank you.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum