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?

ArshadRank #2,492 · 564 reputationPosted Jan 8, 2008, 2:20 AM EST
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
Suneel Kumar15 reputationPosted Jan 8, 2008, 3:01 AM EST
Niradhip ChakrabortyRank #429 · 5.8K reputationPosted Jan 10, 2008, 2:28 PM EST
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