Suneel Kumar

Suneel Kumar

  • NA
  • 15
  • 0

How to chnage the Button background color on Mouse Down and Focus

Jan 8 2008 6:01 AM

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?


Answers (3)