I want to change the link color on a webpage but only for links in the CSS selector
.tcat
I've tried several variations, but this is the closest I think I've gotten:
Code:
a.tcat:link {text-decoration: underline; color:white;}
a.tcat:visited {text-decoration: underline; color:white;}
a.tcat:active {text-decoration: underline; color:white;}
a.tcat:hover {text-decoration: underline; color: red;}
I actually had it working before, but somehow I screwed it up and now I can't figure out how I did it. Can someone throw me a bone please?
--------------- Added [DATE]1229398714[/DATE] at [TIME]1229398714[/TIME] ---------------
From what I'm reading, I have to manually add a new class to each link anchor tag that I want to change the link color for???
Can't I just use the class inside the table tag that surrounds these links somehow? I'm positive I did it before. It's driving me nuts. :/
--------------- Added [DATE]1229399627[/DATE] at [TIME]1229399627[/TIME] ---------------
Ha! Got it! I knew I had done it before.
Here's the code for anyone who's interested.
Code:
.tcat a:link {text-decoration: underline; color:white;}
.tcat a:visited {text-decoration: underline; color:white;}
.tcat a:active {text-decoration: underline; color:white;}
.tcat a:hover {text-decoration: underline; color: red;}