Previous Message
Next Message

Text Link Styles

Sent by AmirBehzad Eslami on 25 January 2004 08:08


e-Greetings,

Jeff,
You can use the following syntax:

a.text:link:hover, a.text:visited:hover {
    ...
}

Cheers,
Behzad

----- Original Message -----
From: "Jeff D. Reid" [EMAIL-REMOVED]>
To: [EMAIL-REMOVED]>
Sent: Sunday, January 25, 2004 12:23 AM
Subject: [css-d] Text Link Styles


Can I add a "hover" style to an already "visited" text link?

I am wanting blue text links which turn black upon hovering over them but I
want the visited state to be blue links with black being the hover state
also.

Here is my CSS:

a.text:link {
text-decoration: underline;
color: #0000ee;
}

a.text:hover {
text-decoration: underline;
color: #000000;
background: #feffef;
}

a.text:visited {
text-decoration: underline;
color: #0000ee;
}

a.text2:link {
text-decoration: underline;
color: #0000ee;
}

a.text2:hover {
text-decoration: underline;
color: #000000;
background: #d5ddeb;
}

a.text2:visited {
text-decoration: underline;
color: #0000ee;
}

Thanks

Jeff
Cincinati, OH

http://www.patandjeff.com
-- web designer for hire --
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/




______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Possibly related: