Elmo Watson wrote on 03 mrt 2005 in
comp.infosystems.
www.authoring.stylesheets: For our intranet - I've standardized on black for links (from input of
users) - no change for visited, etc...
However, on one page, I've been asked to make the normal blue for
non-visited/purple for visited to be instantiated.
I figured I could easily create a class for this - - - - BUT......(and I
know how to create a class) ----
I'm not sure how to create a class that will include A:LINK and
A:VISITED - - - can someone help and shed some light on this, please?
I use something like this, depending on the background color/picture:
a {text-decoration:none;}
a.myClass1:link,a.myClass1:visited
{background-color:transparent;color:yellow;}
a.myClass1:hover {background-color:yellow;color:maroon;}
a.myClass2:link,a.myClass2:visited
{background-color:transparent;color:maroon;}
a.myClass2:hover {background-color:maroon;color:yellow;}
--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)