Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / July 2007

Tip: Looking for answers? Try searching our database.

override default disabled font color

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
louise raisbeck - 02 Jul 2007 14:26 GMT
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" ???
bruce barker - 02 Jul 2007 16:45 GMT
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)

> 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" ???
louise raisbeck - 02 Jul 2007 18:20 GMT
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?

> don't use disabled for a textbox. create your own textbox control, and
> have it render just text when disabled is set.
[quoted text clipped - 6 lines]
> > contrast, but he still cant read it. Does anyone know a workaround to
> > override this font behaviour when an input is disabled="disabled" ???

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.