css: 2 different hovers in the same css ?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have set up a css working fine, but I would like to have 2 different hovers
in the same css - to be applied for 2 different menues. Is this possible? (FP
2003)
 
Set up a pseudo class for each color

<style type="text/css">
a.white {color: white; text-decoration: none}
a.white:link {color: white; text-decoration: none}
a.white:visited {color: white; text-decoration: none}
a.white:hover {color: white; text-decoration: underline}
a.white:active {color: white; text-decoration: none}
a.red {color: red; text-decoration: none}
a.red:link {color: red; text-decoration: none}
a.red:visited {color: red; text-decoration: none}
a.red:hover {color: red; text-decoration: underline}
a.red:active {color: red; text-decoration: none}
</style>

And apply the class to the links
<a href="yourlink.htm" class="white">
or
<a href="yourlink.htm" class="red">

--




|I have set up a css working fine, but I would like to have 2 different hovers
| in the same css - to be applied for 2 different menues. Is this possible? (FP
| 2003)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Image Rollover in CSS + Hyperlink 5
CSS causing FP2K2 links to have the jitters 2
Link in CSS 1
need help with menu/css/fp2003 2
usemap and CSS 2
CSS Table Question 6
hover menu in CSS 4
CSS 6

Back
Top