Please help. For some reason the a:link visited is not working I need the background of the link to be black when visited/active and instead it reverts back to original colour - this is annoying because u cant tell what page u are on unless the link is black

Please help. For some reason the a:link visited is not working I need the background of the link to be black when visited/active and instead it reverts back to original colour - this is annoying because u cant tell what page u are on unless the link is black

You have the background-color of the visited block set to #d6e3ec, do you want that to be black?

mslee
—
2013-03-04T15:06:49Z —
#3

if i change the background to black then it is black all the time - what i mean is that i need it to be black only when clicked and on hover too

Stevie_D
—
2013-03-04T18:17:55Z —
#4

mslee said:

if i change the background to black then it is black all the time - what i mean is that i need it to be black only when clicked and on hover too

That isn't what "active" means ... it applies while you're clicking on the link, or activating it using the keyboard. CSS can't tell whether a link is pointing to the current page, so you need to put something in the HTML to tell it, usually something like <li id="current"> and then you can target li#current a {...} to give the styling you want.

There are other options as well ... if you want to know then just ask, I can't stop now because I'm running 5 minutes laaaaaaaate!