hi im going crazy i dont know why the style sheet dose not affect the navigation bar
while it dose for other elements...pleas can any one break the buzle..
this is part of the style sheets that relates to the navigation bar:
.nav li{padding: 5px 10px 5px 10px;
margin-left:10px;
display:block;
float:left;
list-style-type:none;
}
.navpic{border-style:solid;
border-color:red;
}
a.nav: link{ color:#ffffff;
border-color:green;
}
a.nav: visited{ color:red;
border: 3px solid yellow; }
a.nav: hover{background-color: blue;
}
.navbar{ margin-top:50px;
text-decoration:none;}
and this is the html part of the navigation bar:
<div id="left">
<ul class="navbar">
<li> <a class="nav" href="home.html"><img class="navpic" src="p.gif" alt="home" width="150" hight="100"/></a></li>
<li> <a class="nav" href="colTheory.html"> <img class="navpic" src="t.gif" alt="color theory" width="150" hight="100"/></a></li>
<li> <a class="nav" href="menOFcolor.html"><img class="navpic" src="g.gif" alt="meaning of colors" width="150" hight="100" /></a></li>
<li> <a class="nav" href="colorANDintDesign.html"><img class="navpic" src="i.gif" alt="colors and interior design" width="150" hight="100" /></a></li>
<li> <a class="nav" href="colorInFood.html"> <img class="navpic" src="y.gif" alt="colors in food" width="150" hight="100" /></a> </li>
<li> <a class="nav" href="colorInSci.html"> <img class="navpic" src="b.gif" alt="color in science" width="150" hight="100" /></a></li>
</ul>
</div>
thanks in advance.