By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,230 Members | 2,471 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,230 IT Pros & Developers. It's quick & easy.

override default disabled font color

P: n/a
HI there. I use IE7. We have a user with bad eyesight. he cannot read the
font when IE makes an input disabled (the light grey color font). I am able
to change the background to a different color to white to try and increase a
contrast, but he still cant read it. Does anyone know a workaround to
override this font behaviour when an input is disabled="disabled" ???
Jul 2 '07 #1
Share this Question
Share on Google+
2 Replies


P: n/a
don't use disabled for a textbox. create your own textbox control, and
have it render just text when disabled is set.

-- bruce (sqlwork.com)
louise raisbeck wrote:
HI there. I use IE7. We have a user with bad eyesight. he cannot read the
font when IE makes an input disabled (the light grey color font). I am able
to change the background to a different color to white to try and increase a
contrast, but he still cant read it. Does anyone know a workaround to
override this font behaviour when an input is disabled="disabled" ???
Jul 2 '07 #2

P: n/a
thanks. i have already thought of ways to 'replace' this functionality, but
we dont have the time to redevelop the entire system to do different
behaviour for disabled text boxes. Hence i'm trying for a quick win to
improve things for this one user. If you can test for the disabled property
and change the background colour by changing the class using javascript, why
cant i change the font color aswell?

"bruce barker" wrote:
don't use disabled for a textbox. create your own textbox control, and
have it render just text when disabled is set.

-- bruce (sqlwork.com)
louise raisbeck wrote:
HI there. I use IE7. We have a user with bad eyesight. he cannot read the
font when IE makes an input disabled (the light grey color font). I am able
to change the background to a different color to white to try and increase a
contrast, but he still cant read it. Does anyone know a workaround to
override this font behaviour when an input is disabled="disabled" ???
Jul 2 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.