473,385 Members | 1,846 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,385 software developers and data experts.

Background color

I am totally baffled by what is happening in my code. I have a section
of code (shown below with two comment lines inserted). They are
essentially identical text boxes (names and variables different). Yet,
the first comes up with a white background and the second comes up with
a yellow/gold background. Any help with this mystery would be
appreciated.

Shelly
<tr>
<td><div align="right"><strong>Answer #2:
</strong></div></td>
// This background comes up in white
<td><input name="hint_2_Answer" type="text" id="hint_2_Answer"
value="<?php if (isset($_hint2)) echo $_hint2;?>"
maxlength="20">
</td>
</tr>
<tr>
<td><div align="right"><strong>Current email address:
</strong></div></td>
// This background comes up in yellow/gold
<td><input name="email" type="text" id="email"
value="<?php if (isset($_mail)) echo $_email; ?>"
maxlength="30">
</td>
</tr>

Dec 26 '05 #1
11 1830
Shelly wrote:
I am totally baffled by what is happening in my code. I have a
section of code (shown below with two comment lines inserted). They
are essentially identical text boxes (names and variables different).
Yet, the first comes up with a white background and the second comes
up with a yellow/gold background. Any help with this mystery would be
appreciated.


Look at the CSS background/background-color properties for #hint_2_Answer
and #email sections.

It might also have to do with a toolbar, which marks non-used fields yellow
(some toolbars do that). In this case, check it with another browser then
the one you're currently using.
JW
Dec 26 '05 #2
"Shelly" <sh**************@asap-consult.com> kirjoitti
viestissä:11**********************@g47g2000cwa.goo glegroups.com...
I am totally baffled by what is happening in my code. I have a section
of code (shown below with two comment lines inserted). They are
essentially identical text boxes (names and variables different). Yet,
the first comes up with a white background and the second comes up with
a yellow/gold background. Any help with this mystery would be
appreciated.

Google toolbar is known to do that.

--
SETI @ Home - Donate your cpu's idle time to science.
Further reading at <http://setiweb.ssl.berkeley.edu/>
Kimmo Laine <an*******************@gmail.com.NOSPAM.invalid>
Dec 26 '05 #3
There is no style sheet yet that is associated with this page (there
will be soon). Also, this is not a toolbar. Both of these are text
fields (one right after another) in a table in a form.

Shelly

Dec 26 '05 #4

"Shelly" <sh**************@asap-consult.com> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
There is no style sheet yet that is associated with this page (there
will be soon). Also, this is not a toolbar. Both of these are text
fields (one right after another) in a table in a form.

Shelly


What browser are you using? Most browsers have an auto-complete function
built-in. You can try changing the name of the field to something other
than email and see if it goes away. Most likely it is a setting in your
browser.

-Mark
Dec 27 '05 #5
I only showed where the change occured. Before this all fields had
white background and after this they all has yellow/gold background.
Those fields were named "street", "city", etc.

Shelly

Dec 28 '05 #6
Message-ID: <11**********************@g49g2000cwa.googlegroups .com> from
Shelly contained the following:
I only showed where the change occured. Before this all fields had
white background and after this they all has yellow/gold background.
Those fields were named "street", "city", etc.

Kimmo gave you the answer. See:-

http://www.htmldog.com/ptg/archives/000017.php
--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/
Dec 28 '05 #7
Wow! Thanks for the URL. I thought Kimmo was saying that EVEN Google
suffered from this, rather than saying the Google causes it in MY form.
Now I have to decide which choice I should make.

Dec 28 '05 #8
Shelly wrote:
Wow! Thanks for the URL. I thought Kimmo was saying that EVEN Google
suffered from this, rather than saying the Google causes it in MY
form. Now I have to decide which choice I should make.


What did you think I meant with "toolbar" then?
JW
Dec 28 '05 #9

"Janwillem Borleffs" <jw@jwscripts.com> wrote in message
news:43***********************@news.euronet.nl...
Shelly wrote:
Wow! Thanks for the URL. I thought Kimmo was saying that EVEN Google
suffered from this, rather than saying the Google causes it in MY
form. Now I have to decide which choice I should make.


What did you think I meant with "toolbar" then?


I thought you meant that the Google toolbar suffered from the same problem
(that I wa not alone). I didn't understand that you were saying that the
Google toolbar CAUSED the problem.

Shelly
Dec 28 '05 #10

"Michael Vilain" <vi****@spamcop.net> wrote in message
news:vi**************************@comcast.dca.giga news.com...
Safari has this autofill feature built in. It sure doesn't take much to
get some people's knickers in a twist...

[there's currently no Google Toolbar for MacOS X, thankfully]


I love that toolbar and love the autofill.

Shelly
Dec 28 '05 #11
"Shelly" <sh**************@asap-consult.com> wrote:

Wow! Thanks for the URL. I thought Kimmo was saying that EVEN Google
suffered from this, rather than saying the Google causes it in MY form.
Now I have to decide which choice I should make.


You can turn off JUST the gold-coloring in the Google toolbar options.
--
- Tim Roberts, ti**@probo.com
Providenza & Boekelheide, Inc.
Dec 30 '05 #12

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

Similar topics

4
by: erik | last post by:
Is it posssible to inherit the previous pages (parent pages) background image? Is there a script out there I could look at? Thanks
12
by: Stanimir Stamenkov | last post by:
Here are two cases regarding inline-level elements' line-height, padding and background, which I doesn't understand: <div style="background: black; color: white; line-height: 1.5">...
27
by: Kevin Yu | last post by:
When I declare on HTML page <LINK href="mycss.css" type="text/css" rel=stylesheet /> .... <BODY class=myclass> in mycss.css BODY { FONT-WEIGHT: bold; FONT-SIZE: 12px; FONT-FAMILY:...
3
by: MediaDesign | last post by:
so there's the problem: my text links have background images and when I put links around images on my page, they too get the background image treatment which I do not...I have tried several...
11
by: Konrad Den Ende | last post by:
I have a function returning a string but the problem is that the color of it is blue which suits me well for some pages but not for others. Is it possible to "feel" what the color of the background...
5
by: proximus | last post by:
Hi, I am trying to change the background of table TD's. The problem is that I have no access to the HTML code. SO I am trying to alter this using Javascript/DOM in an external .js file. I...
16
by: stevedude | last post by:
CSS newbie again. I have a problem trying to get coffee mug images within anchor tags to center with my link text for a vertical list menu. If I use the horizontal/vertical properties of...
19
by: david.karr | last post by:
If in my CSS I set the "background-color" property on the "body" element, it only covers the background of the elements defined in the body, up to the current width and height of the page. However,...
10
by: VividWeb | last post by:
Hi. I am relatively new to CSS and HTML but have a basic understanding of most things. One of my backgrounds is not positioning correctly in IE 7 or AOL. The background behind the content...
2
by: thephatp | last post by:
I'm having a problem with IE rendering correctly. I'm experimenting with using all div's in my pages now, and I'm not very familiar with the quirks of IE. I have created a sample page, and I'm...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.