473,667 Members | 2,577 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

override default disabled font color

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="disab led" ???
Jul 2 '07 #1
2 4460
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="disab led" ???
Jul 2 '07 #2
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="disab led" ???
Jul 2 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
1741
by: kobeting | last post by:
Dear All, I would like to like that how I can set the font color of a specific column of a datagird. For example, my datagrid contains 4 columns and may rows, but I only want all column 2 data font color will be in Red and other data font color is still in blank. Thanks
1
1545
by: Connull | last post by:
Is there a way to change the font color in a specific row in a datagrid. I know who to identify the specific row.
2
2782
by: Chester Ragel | last post by:
Hi, How can I change the font color of a dissabled label control? Chester.
1
10561
by: Do | last post by:
Hi, In my listbox, I'd like to change the color of some listitems depending on user security. I tried wrapping the <font color=red></font> around my listitme's .text property, but the tags show up in the page load. What can I do here?
3
3602
by: Phil Certain | last post by:
Hi I'm building a site that has publicly available pages and password protected pages. Publicly available pages reside in: /public and password protected pages reside in: /private
4
2969
by: ACaunter | last post by:
Hi there, I was wondering if there was a way to change the font color of the text in the title bar... by default the title bar is that dark blue faiding into light blue and it has white text... is it possible to change the color of that blue bar and also the color of the text, for all the people who visit the asp.net website... really i want to have the text all to be whatever color, even white, but then 1 character half way through the...
10
30626
by: Darrell Wesley | last post by:
Where xlWs is an Excel.Worksheet and xlRG is an Excel.Range xlRG = xlWS.Cells(row, 7) xlRG.Font.Bold = True xlRG.Font.Color = 255 In VB6 you could just simply say xlRG.Font.Color = vbRed but in .net there is no constant vbRed and Color.Red gives an invalid format. Is there a set of enumerations of colors that will work here?
0
1755
by: Brian McCullough | last post by:
Hello, I need to be able to modify the font color of the text displayed within a disabled DropdownList (i.e. <select>). I have tried adding the following to my css: select{ color:red; }
2
7714
by: piercy | last post by:
The project im working on requires the user to be able to print reports based on information the program gathers. (ie.To, From, Cost, Username etc.etc.). Now to make this report thing more usable im going to add lots of customizable options. For instance, row color, font size, font type, font color, header color etc. So i added the fontDialog control to my page and for time being just called ShowDialog on a button click. Theres an...
0
8457
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
8563
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8646
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7390
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6203
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4372
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2776
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2013
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1778
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.