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)
 
Back
Top