[thelist] CSS problem
Mark Howells
mark at mountain.ch
Thu Jan 24 08:58:03 CST 2002
> This is the css I'm
> using for the links:
>
> a:visited
> {color: blue;font-weight: normal;}
> a:hover
> {background-color: transparent;color: #330066;font-weight:
> inherit;text-decoration: underline;}
> a
> {color: blue;font-weight: bold;text-decoration: none;}
>
> ... however, it doesn't work like it's supposed to in netscape/mozilla
> (it
> works fine in IE) -- waht it does is that if it's not been visited, it's
> *bold*, and if it *has* been visited, it's normal, but if it has been
> visited and you mouseover it, it turns into bold, and when you
> mouseout, it
> goes back to normal... and taht's a problem.
You may find that the parent of a:hover{} is a{}, which is why the
font-weight will be inherited as bold and not normal. Try removing the
font-weight declaration for a:hover{} and see what happens.
Regards
Mark Howells
<http://www.mark.ac/evl>
More information about the thelist
mailing list