It may just be me, but sometimes I think im starting to get the hang of this css stuff' and then it goes back to 'I dont have a clue.'
so, I have a default style
a:focus,
a:hover,
a:active {
outline: 0 none;
text-decoration: none;
color: #fff;
}
but on a couple of <a href..> I need to overwrite the style,
so I have added the following to my css
a.myBlue a.myBlue:hover {
color: #3078ef ;
}
.myBlue a:hover {
color: #3078ef ;
}
(Yes, I've done this twice)
and applied
<a href="/Client/Edit/@item.ClientId" class="myBlue"></a>
But in Chrome, looking at developer tools its still applying the standard style, it does not even pull "myBlue" down?
Where am I going wrong?
myBlueis the class of theaso just use.myBlue:hover{...}a.myBlue a.myBlue:hovershould bea.myBlue, a.myBlue:hover. I've voted to close the question as a simple typographical error.