PDA

View Full Version : Rollover links not working - sometimes.


NewLeafWebsites
08-14-2007, 09:59 PM
Can anyone explain why some links turn yellow when rolled over (suppose to happen), but others, on the same PAGE even, not.

Here's the website:

http://www.gtagpa.com/index2.html

Check out the ministries page, and rollover the "stars" link. It turns yellow while the others don't.

Here's the CSS:

a:link {
color: #FFFFFF;
}
a:hover {
color: #EFD145;
}
a:active {
color: #FFFFFF;
}
a:visited {
color: #FFFFFF;
}

And a screenshot of the page properties is attached.

Can someone explain what would cause links to change color sometimes and not others -- sometimes on the same page?

edbr
08-15-2007, 01:31 AM
it is when you have visited they turn white, perhaps you should give 'a visited' a different colour

domedia
08-15-2007, 01:58 AM
The order of the pseudo elements are wrong, hover should be last and visited second.

NewLeafWebsites
08-15-2007, 11:44 AM
Okay... I'll change the order. Thanks!