Click here to Skip to main content
15,923,051 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear Frnds, Have a nice day,

I have a hyperlink on my webpage, when i Mouse over it......it should change the color of that link and also it must be underlined when mouse over.


NOTE :

I need these two things when mouseover
1)Link color change
2)link must be underlined.


PLEASE HELP THANKS.
Posted

Use this css
CSS
.Link
{
    color:Black;
}

.Link:hover
{
    color:Blue;
    text-decoration:underline;
}
 
Share this answer
 
Comments
Mohamed Mitwalli 29-Jul-12 5:35am    
5+
.Link
{
color:Skyblue;
}

.Link:hover
{
color:Blue;
text-decoration:underline;
}

Add the property by creating a CSS class in your project and by using metalink attach the file where ever you needs.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900