Click to See Complete Forum and Search --> : How can I disable visited links being different than non-visited?


Ark86
01-05-2003, 09:00 PM
This may sound like a stupid question but I can' figure out how to make visited links look just like non-visited links. Here is my CSS code:

A:link{color: "#990000"; text-decoration: none;}
A:hover{color: "#ff0000"; text-decoration: none;}
A:visited{color: "#990000"; text-decoration: none;}

I can get them to appear the same color, but not when I hover over them. Will I have to write a javascript to change them or is there a way I can disable visited links turning different colors? Thanks.

Skeelo
01-06-2003, 04:29 AM
Just try eliminating A:visited altogether, I think it should just make all links the same.

muisejt
01-06-2003, 10:01 AM
Try it this way, it's a bit picky with the order:

A:link{color: "#990000"; text-decoration: none;}
A:visited{color: "#990000"; text-decoration: none;}
A:hover{color: "#ff0000"; text-decoration: none;}

Ark86
01-06-2003, 02:17 PM
Try it this way, it's a bit picky with the order:
OK, that worked. I didn't have a clue that the order mattered. Thanks.