I have the following css rule:
.headerWrapperDiv3 a{
color:#888;
}
.headerWrapperDiv3 a:hover {
color:#444;
}
and the following markup:
<div class='headerWrapperDiv3'>
<ul class="nav90">
<li><a href="index.aspx" pageCatID="3" >Home</a></li>
</ul>
</div>
and I'm using this jQuery to change the color of the link once the page loads:
$(function() {
$("a[pageCatID=3]").each(function(){
$(this).css("color", "#00ff00");
});
});
The jquery finds the link ok but fails to change the color.