By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,648 Members | 1,198 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,648 IT Pros & Developers. It's quick & easy.

conventional way to switch styles upon rollovers

P: n/a
Hi,

Is there a cross-browser, CSS driven way to switch a style once I roll
over a particular hyperlink and then switch back once I roll out? I
can figure something out using Javascript, but I was curious if there
was CSS syntax I could use that would avoid having to use JS.

Thanks, - Dave

Feb 6 '07 #1
Share this Question
Share on Google+
2 Replies


P: n/a
la***********@zipmail.com wrote:
Hi,

Is there a cross-browser, CSS driven way to switch a style once I roll
over a particular hyperlink and then switch back once I roll out? I
can figure something out using Javascript, but I was curious if there
was CSS syntax I could use that would avoid having to use JS.

Thanks, - Dave
a:link {
color: blue;
}

a:hover {
color: red;
}
Feb 6 '07 #2

P: n/a
la***********@zipmail.com wrote:
Hi,

Is there a cross-browser, CSS driven way to switch a style once I roll
over a particular hyperlink and then switch back once I roll out? I
can figure something out using Javascript, but I was curious if there
was CSS syntax I could use that would avoid having to use JS.

Thanks, - Dave
a:link {
color: blue;
}

a:hover {
color: red;
}

Feb 6 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.