How do i use two differenet a:hover styles, so that 1 style can underline and stay blue and the other can underline and stay white.
Printable View
How do i use two differenet a:hover styles, so that 1 style can underline and stay blue and the other can underline and stay white.
use two different IDs or classes....I'm guessing what you would probably want is two classes that each define their own a:hover settings.
Then in the html when you want style A, set the class of the a href... and when you want style B, set the class of the a href to the other.
-tg
If im not mistaken
<a href="index.php" class="one">Blah</a>
<a href="index.php" class="two">Blah</a>
Then in your CSS you should have
css Code:
a:hover.one { <!-- css here --> } a:hover.two { <!-- css here --> }