473,326 Members | 2,110 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Textbox Background Color

How do you control the color of a textbox background color? I have an issue
that when a user is viewing a form in the same version of IE 6 and operating
system but a differenet computer they get a yellow background on SOME of the
textboxes while other remain white. Thank you in advance for your help.
Nov 3 '06 #1
5 1954
I am willing to bet they have the Google toolbar installed, which by default
changes input controls with particular id's to yellow to show them as
required fields. Usually id's that have to do with last name, first name,
city, state, zip, etc.

"Mark Sandfox" <No****@NoSpam.comwrote in message
news:wM***************@newssvr14.news.prodigy.com. ..
How do you control the color of a textbox background color? I have an
issue that when a user is viewing a form in the same version of IE 6 and
operating system but a differenet computer they get a yellow background on
SOME of the textboxes while other remain white. Thank you in advance for
your help.


Nov 3 '06 #2
K B
Hi,

I found I had this problem ocassionally due to having the Google toolbar
installed with the Highlight or AutoFill options (not sure which it was)
turned on for the user's machine.

KB

*** Sent via Developersdex http://www.developersdex.com ***
Nov 3 '06 #3
is there a way to override this feature from the design end?
"Marina Levit [MVP]" <so*****@nospam.comwrote in message
news:um**************@TK2MSFTNGP04.phx.gbl...
>I am willing to bet they have the Google toolbar installed, which by
default changes input controls with particular id's to yellow to show them
as required fields. Usually id's that have to do with last name, first
name, city, state, zip, etc.

"Mark Sandfox" <No****@NoSpam.comwrote in message
news:wM***************@newssvr14.news.prodigy.com. ..
>How do you control the color of a textbox background color? I have an
issue that when a user is viewing a form in the same version of IE 6 and
operating system but a differenet computer they get a yellow background
on SOME of the textboxes while other remain white. Thank you in advance
for your help.



Nov 3 '06 #4
Not that I am aware of. The user has to shut this feature off in the google
toolbar. Google will do this for all web pages, oddly someone over there
thought it was a good idea.

"Mark Sandfox" <No****@NoSpam.comwrote in message
news:Wg****************@newssvr13.news.prodigy.com ...
is there a way to override this feature from the design end?
"Marina Levit [MVP]" <so*****@nospam.comwrote in message
news:um**************@TK2MSFTNGP04.phx.gbl...
>>I am willing to bet they have the Google toolbar installed, which by
default changes input controls with particular id's to yellow to show them
as required fields. Usually id's that have to do with last name, first
name, city, state, zip, etc.

"Mark Sandfox" <No****@NoSpam.comwrote in message
news:wM***************@newssvr14.news.prodigy.com ...
>>How do you control the color of a textbox background color? I have an
issue that when a user is viewing a form in the same version of IE 6 and
operating system but a differenet computer they get a yellow background
on SOME of the textboxes while other remain white. Thank you in advance
for your help.




Nov 3 '06 #5
What you can do however, is give your controls names such that the google
toolbar won't think it should make them yellow. You might have to experiment
a bit, to see exactly what kind of naming will allow you to bypass the
feature.

"Mark Sandfox" <No****@NoSpam.comwrote in message
news:Wg****************@newssvr13.news.prodigy.com ...
is there a way to override this feature from the design end?
"Marina Levit [MVP]" <so*****@nospam.comwrote in message
news:um**************@TK2MSFTNGP04.phx.gbl...
>>I am willing to bet they have the Google toolbar installed, which by
default changes input controls with particular id's to yellow to show them
as required fields. Usually id's that have to do with last name, first
name, city, state, zip, etc.

"Mark Sandfox" <No****@NoSpam.comwrote in message
news:wM***************@newssvr14.news.prodigy.com ...
>>How do you control the color of a textbox background color? I have an
issue that when a user is viewing a form in the same version of IE 6 and
operating system but a differenet computer they get a yellow background
on SOME of the textboxes while other remain white. Thank you in advance
for your help.




Nov 3 '06 #6

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

Similar topics

11
by: Mr. B | last post by:
While at first this may seem a simple tast, it has plagued me for a while... What I want to do is to have the background colour of something like a TextBox to change from (say) White to Yellow to...
3
by: Steve | last post by:
I have windows form with the few TextBox controls. Under certain conditions I disable or enable this controls by setting Enable property to true or false: For example: this.m_txtIP.Enabled =...
4
by: Jurjen de Groot | last post by:
I'm developing a ASP.NET/VB.NET web application. (VS.NET 2003) I've created several webpages, but on two pages one textbox colors yellow (the background) and I can't get the background to appear...
8
by: tshad | last post by:
I cannot seem to get the asp:textbox to use classes. Style works fine. I am trying to set the textbox to act like a label in some instance so it doesn't have a border, readonly and the background...
0
by: Don | last post by:
I'm making a custom control that has a multiline textbox on it. I want to make the textbox have a gradient background. On my custom control's Paint event I call a routine that draws a gradient on...
2
by: Simon | last post by:
I've only recently got started using VB.net Compact Framework, and I'm struggling to create a read-only Textbox with a white background. Even though I can set the background colour of a textbox,...
10
by: aarepasky | last post by:
I am using ASP Web 2005 express. I created the user control below and I am listing the html code. I have 2 textboxes. One is txtCompanyName. The main page has 2 panels on it and a button. ...
8
by: Filipe Marcelino | last post by:
Hi, I'm trying to create a textbox inheriting from the standard textbox. I would like to: 1. repaint the textbox border; 2. define a color for that border; Till now I made this:
0
by: sjickells | last post by:
Hi I am having a problem using asp:TextBox's in a transparent table. I have a background image on the page and a table in the middle of the page. I have set the background colour of the table...
8
by: Marco Pais | last post by:
Hi there. How can I change the background color of a textbox when it gets the focus? I can handle the "Enter" event and do this private void txtDummie_Enter(object sender, EventArgs e) { ...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.