Click here to Skip to main content
15,893,190 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Dear Frnds,

I have a link button called English, I need to change the color of it to yellow on Mouse Over it,,,Please suggest me

Thanks.
Posted
Updated 10-May-17 5:15am

 
Share this answer
 
Comments
VJ Reddy 22-May-12 3:49am    
Good reference. 5!
Mehdi Gholam 22-May-12 4:49am    
Thanks VJ!
 
Share this answer
 
Comments
VJ Reddy 22-May-12 6:22am    
Good reference. 5!
sravani.v 22-May-12 6:34am    
Thank you VJ
you can use css to achieve that

add cssclass attribute to link button like this

add this in head tags of a page

<style type="text/css">
        .change:hover
        {
            color: Yellow;
        }
    </style>



and your link button looks like this

<asp:linkbutton id="lbtnlink" runat="server" cssclass="change" text="move over here" xmlns:asp="#unknown" />
 
Share this answer
 
Comments
sravani.v 21-May-12 7:32am    
5!
hitech_s 21-May-12 7:43am    
thank you sravani
hi dear

add two tag in css

CSS
a, a:visited
{
color:Black;
}

a:hover
{
color:Green
}


thanks
 
Share this answer
 

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