any way to change the background color of a textbox depending on whether it is enabled or disabled?
Any advice would be great...
Printable View
any way to change the background color of a textbox depending on whether it is enabled or disabled?
Any advice would be great...
You should be able to do it like this:
But I think once again IE doesn't support it, so you may have to do it via JS for IE.Code:input[type="input"] {
background:black;
color:white;
}
input[disabled][type="input"] {
background:blue;
color:black;
}