By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,746 Members | 1,735 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,746 IT Pros & Developers. It's quick & easy.

text box bgcolors???

P: n/a
Why do some HTML text boxes have a yellow bacground color and others not? I have several pages
written using PHP in which I can not find any difference in the HTML code, yet some of the boxes
have a white bgcolor and the others are yellow?

Thanks,

Rick

Jul 17 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
bgcolor can be set by CSS, so if you use CSS class for some textbox bgcolor
can be differ than default one
"Rick B" <rick@excel_newsgroup.com> ???????/???????? ? ???????? ?????????:
news:XyKac.149325$1p.1901933@attbi_s54...
Why do some HTML text boxes have a yellow bacground color and others not? I have several pages written using PHP in which I can not find any difference in the HTML code, yet some of the boxes have a white bgcolor and the others are yellow?

Thanks,

Rick

Jul 17 '05 #2

P: n/a
"Rick B" <rick@excel_newsgroup.com> schrieb im Newsbeitrag
news:XyKac.149325$1p.1901933@attbi_s54...
Why do some HTML text boxes have a yellow bacground color and others not? I have several pages written using PHP in which I can not find any difference in the HTML code, yet some of the boxes have a white bgcolor and the others are yellow?


The Google toolbar seems to color form fields yellow if it thinks it could
fill them in for you. You can disable that in the Google toolbar itself,
there is no way to disable it in your website.

HTH
Markus
Jul 17 '05 #3

P: n/a
Rick B wrote:
Why do some HTML text boxes have a yellow bacground color and others
not? I have several pages written using PHP in which I can not find any
difference in the HTML code, yet some of the boxes have a white bgcolor
and the others are yellow?


Sounds like you are using MSIE. Take a look with Mozilla - they aren't
likely to be colored. What is happening is that the browser (or
something installed with it) is recognizing those fields as something
that it could fill in for you.

--
Justin Koivisto - sp**@koivi.com
PHP POSTERS: Please use comp.lang.php for PHP related questions,
alt.php* groups are not recommended.
SEO Competition League: http://seo.koivi.com/
Jul 17 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.