When I disable input elements the text is taking the font color: "#000000" in Firefox. This is not happening in IE. Please check the below page in IE and Firefox. Let me know how to give it a gray look as in IE.
test
views:
2254answers:
2
+4
A:
Different browsers style disabled elements differently. Here is how you can control the style of disabled elements in Firefox.
[disabled] {
color:#ff0000;
background-color:#00ff00;
}
ng.mangine
2008-12-17 09:32:28
I tried your style, it is taking bg color green and not font color
Shivanand
2008-12-17 09:38:18
@Shivanand: works if you write it with !important: color:#ff0000 !important; @ng.mangine: good trick!
PhiLho
2008-12-17 13:46:01
how the F do i do this in IE8?
Andrew
2009-12-07 21:36:58
A:
Reenable it, change the color, disable it again. It will only take .001 seconds.
Diodeus
2008-12-17 13:53:29