Solved

[CSS] A.hover

Posted on 2000-03-21
2
198 Views
Last Modified: 2010-04-09
G'day all expoerts in there.

Is it possible to have a different hovering style in the same page ?

When we define several A.hover CSS styles, it seems it's the last one that prevail over the previous one(s)...

Any solutions ?
10x in advance 4 your help and your precious time
0
Comment
Question by:ESI
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 

Accepted Solution

by:
chteril earned 100 total points
ID: 2639675
try this:

<html>
<head>
<style>
a.test1:hover{

  color:green;
}
a.test2:hover{
   color:black;
}
a.test3:hover{
   color:red;
}
a.test4:hover{
   color:blue;
}
</style>

</head>
<body>
<a class='test1' href=''>Test1</a>
<br><a class='test2' href=''>Test2</a>
<br><a class='test3' href=''>Test3</a>
<br><a class='test4' href=''>Test4</a>
</body>
</html>
0
 
LVL 3

Author Comment

by:ESI
ID: 2639718
Thanks 4 your quick answer
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Validating Date 4 37
isNaN issue on the Table input text 2 38
Editing .asp website 5 28
CSS styling problem 3 22
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
Find out what you should include to make the best professional email signature for your organization.
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question