Click to See Complete Forum and Search --> : A:hover not working... need help


User Name
12-11-2005, 12:11 AM
my a:hover class does not work for visited links... IE there is no hover effect. so what do I do to change the hover effect? Also my a:link and a:hover are exactly the same except I had to make a class for each of them.. is there an easier way to do that than making each of them their own class?

ray326
12-11-2005, 12:16 AM
Got link?

ofir
12-11-2005, 01:21 AM
the link class MUST be in this order : link, visited, hover, active !!
if its not - it will not work properly.

so your class will be like:

a.link1:link { ..... }
a.link1:visited { ..... }
a.link1:hover { ..... }
a.link1:active { ..... }

and then inside the link itself:

<a href='#' class='link1' >