Click here to Skip to main content
15,908,013 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi,
I have an HTML code like this for a link.
"a href="/newsample/HighBounceBall.aspx" title="Buy a full box of 24 for $66.00 ">High Bounce Ball"

i have to make that link underlined when mouse over the link
please help

thank you
Posted
Updated 23-Jun-13 21:17pm
v3

1 solution

I think I have solution for your task...

there is no style available for anchor tag in html page..
for this you need to add css class to define this thing.

suppose you wrote:
HTML
<a href="/newsample/HighBounceBall.aspx" title="Buy a full box of 24 for $66.00 ">High Bounce Ball</a>

you can add class to <a> tag like <a href="" class="link">


then define class named .link in CSS file as follows:
CSS
.link
{
       text-decoration:none;
}

.link:hover
{
       text-decoration:underline;
}

and your work is done....

Thank you...
Guide me if I am Wrong
 
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