Hi there,
looks like you are missing a closing
</li>
no the thrid line and no start or end tag after the inner list...
<ul> and </ul>
, ie you are trying to nest list items
<ul>
<li>header 1</li>
<ul>
<li>sub heading 1.1</li>
<li>sub heading 1.2</li>
</ul>
<li>header 2</li>
<ul>
<li>sub heading 2.1</li>
<li>sub heading 2.2</li>
</ul>
</ul>
Your code...
<li><a href="#">Item 1</a></li>
<li><a href="#">Item 2</a>[COLOR="Red"]</li>[/COLOR]
<ul>
<li><a href="#">Item 2.1</a></li>
<li><a href="#">Item 2.2</a></li>
</ul>
[COLOR="red"]</li> [/COLOR] [COLOR="PaleGreen"][COLOR="DarkGreen"]<!-- you do not need this her should go up to close off the above -->[/COLOR]
<li><a href="#">Item 3</a> [COLOR="Red"]</li>[/COLOR]
<ul>
<li><a href="#">Item 3.1</a></li>
<li><a href="#">Item 3.2</a> [COLOR="Red"]</li>[/COLOR]
[COLOR="red"]</ul>[/COLOR]
etc...
You can also put in a general class in your css file to format list items. IE
li {
background-color: #000;
colour: #fff;
text-align:center;
display: block;
}
You can then also put in styes for nested li like this
li li {
color: orange;
text-decoration: italic;
}
hope this helps
Cheers,
Andi