In IE8 it shows up as light gray and is barely readable. Chrome and Firefox are fine . How can i solve it ?
Asked
Active
Viewed 2,113 times
3 Answers
-1
Since IE7 and above supports the [attr]
selector, you could do what was answered here.
input[disabled]
{
color: red;
}
Hopefully that helps. I can't test it since I'm on Windows 7 and only have IE10.
-1
You could use jQuery
:
$('input[type=text]:disabled').css({
'color' : 'red'
});
or CSS
:
input[type=text]:disabled
{
color:red
}
I strongly recommand CSS
:D

Beniamin Szabo
- 1,909
- 4
- 17
- 26