Solved

[CSS] A.hover

Posted on 2000-03-21
2
206 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

630 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