PDA

View Full Version : hyperlink text color


MissyInNC
01-29-2003, 03:36 AM
I want to have my hyperlink text (active, hover, and visited) be different colors in different tables on my pages. Currently, I set the link colors in a style command, but that applies to the whole page. I want text links in one table to stay white, active and visited. In other tables, text links may be different colors, depending on the background of the various boxes (tables) they're in, etc. How do I do this using CSS or html? I tried using "class," but it didn't work. I might have done it wrong. Thanks.

meow
01-29-2003, 06:21 AM
Then you did something wrong. You can class the links themselves.

a.other:link {...}

But that's waste of bytes. Rather class a container.
Then you go:

.other a:link {...}

and so on.