Log in

View Full Version : Creating a cleanly aligned list?



lplplpx3
01-11-2010, 05:48 AM
How do I make a list similar to the one as shown in the example. Thank-you.

bluewalrus
01-11-2010, 05:51 AM
Something like this

css:


h1 {
color:#ff0000;
font-size:16px;
}

html


<h1>Title</h1>
<ul>
<li>point one</li>
<li>point two</li>
<li>point three</li>
</ul>
<h1>Title</h1>
<ul>
<li>point one</li>
<li>point two</li>
<li>point three</li>
</ul>

traq
01-12-2010, 05:41 AM
do you mean how (in the first list in your image) the bullets are separated from the text?

ul{ list-style-position: outside; }