this menu displays how I want it to in live view on dreamweaver cs6.
when I view it in any browser it is not applying parts of the css and I can't understand why?
this is the html:
<div id="header" class="clear">
<ul id="nav">
<li<a href="#">REHABS</li></a>
<li<a href="#">BUSES</li></a>
<li<a href="#">TESTIMONIES</li></a>
<li<a href="#"><img src="images/logo.png"/></li></a>
<li<a href="#">SCHOOLS</li></a>
<li<a href="#">EVENTS</li></a>
<li<a href="#">FUNDING</li></a>
</ul>
and the css:
#header {
height: 100px; padding: 20px 0 0 0; width: 960px; margin: 0 auto;
}
#header ul#nav {
list-style: none; margin: 30px auto;
}
#header ul#nav li {
float: left; padding: 0 0 0 20px; margin: 0 15px 0 0;
}
#header ul#nav a img {position:relative; bottom:35px; margin: 0 0 80px 0;}
#header ul#nav li:first child { background:none; }
#header ul#nav li a {
font-size: 21px; color: #e9e9e9; font-family:"Trebuchet MS", Arial, Helvetica, sans-serif; text-decoration: none; font-weight: bold;
}
#header ul#nav li a:hover, #header ul#nav1 li a.active {
color: #4eb1ba;
}
any help would be greatly appreciated :)
a.active(a classname) and nota:active(a pseudo class) in your last block of css. You'll need the pseudo class.