473,657 Members | 2,394 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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_An swer" type="text" id="hint_2_Answ er"
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 1848
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*** *************** ****@g47g2000cw a.googlegroups. 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.ber keley.edu/>
Kimmo Laine <an************ *******@gmail.c om.NOSPAM.inval id>
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.goo glegroups.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************ **********@g49g 2000cwa.googleg roups.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.c om> wrote in message
news:43******** *************** @news.euronet.n l...
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

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

Similar topics

4
5337
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
6725
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"> <span>Abc</span> <span style="background: white; color: black; line-height: 3">Abc</span> <span>Abc</span> </div>
27
13571
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: Arial, Geneva; background-image: url(images/back.jpg); }
3
18841
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 possible solutions and nothing has worked: my html code: <div class="borderCCC"> <div class="clients"><a href="../index.html"><img
11
3190
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 in the current document is and set the color of the output accordingly? The background will be an image, in most cases. -- Kindly Konrad
5
11084
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 have tried lot's of things and spent hours on this, I thought I might give it a try here. One of the TD's uses HTML to set the background, the other one uses CSS styling:
16
4926
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 "background" or "background-image", the positioning only works with specifying pixels. If I specify the vertical position in pixels, the image gets cut-off at the bottom. I don't know what to do and would appreciate anyone's help. Specifically the code...
19
3978
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, if the current component set has a resulting small height, this leaves most of the page with the original background color (white). However, if I set the property on the "html" element instead, it does color the entire visible page, beyond the...
10
5751
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 (small chocolate area) is positioning slightly down the page instead of at the top. I have used the same techniques in the navigation and it positions fine. Its fine in Fire Fox Opera & Safari. I have run my HTML & CSS through W3c and all is clean. ...
2
14067
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 really confused as to what is going on in IE. FF renders the page exactly as I expect. IE renders the page with everything in the correct location, but it seems to double the background image for a sub-div section that is moved up using a negative...
0
8420
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...
0
8842
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
7353
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
6176
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
4173
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4330
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2743
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
1970
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1733
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.