HTML and CSS question?

Luke Daly

New member
<div id="nav">
<ul>
<li class="active"><a href="index.html" title="Home">HOME</a></li>
<li><a href="about.html" title="About">ABOUT</a></li>
<li><a href="my work.html" title="About">MY WORK</a></li>
<li><a href="contact.html" title="About">CONTACT</a></li>
</ul>
</div><!--nav-->

How do i style <li class="active"> with css ?

i know its something like #div ul then something after that
but when i try #div ul .active nothing happens :/ ?

all help appreciated, many thanks, Luke.
 
Back
Top