posted 20 years ago
it will not work if you visted the link.
You might want to look into link,visited, and hover
here is an example I use on one of my pages.
.a {
display: block;
padding: 2px 2px 2px 5px;
border: 1px solid #000000;
width: 100px;
background-color: #336699;
}
.a:link, a:visited {
color: #FFFFFF;
text-decoration: none;
}
.a:hover {
border: 1px solid #000000;
background-color: #3388AA;
color: #FFFFFF;
}