Introduce DataBase,Asp.net,JavaScript,Xml,Html,Css,Sql,Php,ASP.NET Controls,AJAX,Tools,HTML,CSS,JavaScript,Open Source Project,WPF,.Net Framework,Linq
Top Recommended Hosting

using onmouseover and out with asp controls

by the3factory 5/2/2008 9:20:00 PM
Question:

This may be an easy question but i have a few asp:linkbuttons that i am trying to change the color of the buttons when the mouse goes over and vice versa. I can do this with the <a href> in html but am not sure how this is done with the server side controls. Can you help? Thanks!!


Answer1:

Here is one way:

<stlye>
      a#LinkButton1:hover{color:red}
</style>


<asp:LinkButton ID="LinkButton1" runat="server" >LinkButton</asp:LinkButton>
 

Related posts

Sign up for PayPal and start accepting credit card payments instantly.


Powered by BlogEngine.NET 1.2.0.0