[thelist] [fwd] Text links to javascript popup windows

.jeff jeff at members.evolt.org
Thu Jun 21 22:26:22 CDT 2001


tim,

:~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
: From: Tim Hansen
:
: How can I control the colour of the links
: to javascript.  At the very least, how can
: I get NN to not use red for the active state?
:~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

what you're seeing actually has nothing to do with javascript.  you're just
not seeing it on normal links because the browser goes to the next page too
quickly.  however, click and hold any normal link and you'll notice it'll
also turn red until you release the mouse button.

you answered your own question -- it's the active state you want to alter.

a:active {
  color: #000000;
}

fwiw, a:visited works in nn and mac/ie.  the only one of the pseudo-classes
that doesn't work is a:hover in nn4.

good luck,

.jeff

http://evolt.org/
jeff at members.evolt.org
http://members.evolt.org/jeff/






More information about the thelist mailing list