[thelist] font color on links

Dallas Cahker christmasfruitcake at gmail.com
Tue May 23 12:26:37 CDT 2006


I have some links and I am trying to give them a color when it is on that
page, so I was using A.active, similar to if you want to hover and have it
be a different color, however it doesnt seem to be working.

<style>
.topnav{font: bolder 11px Verdana; padding-top: 25px;text-decoration: none}
.topnav.A:link{color: #4D4D4D;text-decoration: none}
.topnav.A:visited{color: #4D4D4D;text-decoration: none}
.topnav.A:active{color: #194C88;text-decoration: none}
.topnav.A:hover{color: #194C88;text-decoration: none}
</style>

<td align="center" class="topnav"><a href="index.html"
class="topnav">HOME</a>

so when its on index.html or hovered I want the HOME link to be blue #194C88
and the rest of the time grey #4d4d4d.  What am I doing wrong?



More information about the thelist mailing list