Plain format <a name="">
Posted: Tue Jul 22, 2003 9:57 pm
I know this is a very simple question, but I can't seem to get it to work.
I need to style a named anchor so that it doesn't change on any of the normal link behavoir, ie I want it to stay black text with no underlining. I thought this would handle it:
...
A.anchor {color: black; text-decoration: none;}
A.anchor:link {color: black; text-decoration: none;}
A.anchor:visited {color: black; text-decoration: none;}
A.anchor:hover {color: black; text-decoration: none;}
...
<a name="foo" class="anchor">
However, it still underlines it on hover, why? How do I stop it?
I need to style a named anchor so that it doesn't change on any of the normal link behavoir, ie I want it to stay black text with no underlining. I thought this would handle it:
...
A.anchor {color: black; text-decoration: none;}
A.anchor:link {color: black; text-decoration: none;}
A.anchor:visited {color: black; text-decoration: none;}
A.anchor:hover {color: black; text-decoration: none;}
...
<a name="foo" class="anchor">
However, it still underlines it on hover, why? How do I stop it?