L
Lewis
I used to know how to do this.
I have a link on a page that I need to color differently from the rest
of the links on the rest of the page, but I can't remember the syntax to
set the link, visited, and hover, and active colors within a style
declaration in the <a> tag.
I cannot edit the css file in this case to add a custom link color
section, which is what I would normally do.
I suppose I could do something like
<span style="color: red;"><a style="color: inherit" href="...">The
Link</a></span> but that 1) feels like a kludge 2) doesn't let me set
hover/visted/active colors.
I have a link on a page that I need to color differently from the rest
of the links on the rest of the page, but I can't remember the syntax to
set the link, visited, and hover, and active colors within a style
declaration in the <a> tag.
I cannot edit the css file in this case to add a custom link color
section, which is what I would normally do.
I suppose I could do something like
<span style="color: red;"><a style="color: inherit" href="...">The
Link</a></span> but that 1) feels like a kludge 2) doesn't let me set
hover/visted/active colors.