I want to chnage the button colors OnFocus, OnHover and OnMouseDown.
How can i do this?
I am usnig the style sheet
.defaultButton:hover
{
border-color:#009dff;}
.defaultButton:focus
{
border-color:#0000ff;}
The button color is changing only OnHover but not on focus. But dont know how to change the color of the button OnMouseDown.I am new to ASP .NET programming. Could you guys help me out?
Niradhip ChakrabortyPosted Jan 10, 2008, 7:28 PM
Hey u can do it using java script. Its simple. The code is given below.........
//Paste this code in the HEAD part of your page
//Paste the HTML code in the BODY part of your page
//Change the Button name and caption to suit your needs
Suneel KumarPosted Jan 8, 2008, 8:01 AM
ArshadPosted Jan 8, 2008, 7:20 AM
Hi,even i am not expert in ASP.NET,try to do this thing by the javascript,it can be done by that.just chek it.ok
Regards
Arshad Khan