I have a ASP button which is disabled (enabled=false) by default. I cannot set the CSS style for this button as long as it is disabled. As soon as it is enabled, the style is alright. I have tried using the :disabled CSS attribute but no luck. What am I missing?
And the CSS:
.button:disabled
{
background-color: #9dc9ed;
border: none;
color: white;
height: 36px;
font-family: Arial, Helvetica, sans-serif;
cursor: pointer;
font-size: 13px;
}
.button {
background-color: #9dc9ed;
border: none;
color: white;
height: 36px;
font-family: Arial, Helvetica, sans-serif;
cursor: pointer;
font-size: 13px;
}