Fog Creek Software
Discussion Board




Automatic background color for input element.

Hi All,

I am using IE 6 on Windows XP.

I have one interesting observation. If you have XHTML document and if your input element in form is named anything similar to 'name' or 'email', following CSS is applied automatically.

style="BACKGROUND-COLOR: #ffffa0"

Anyone knows why???

I hope it's not all that dumb question. :)

P.S.: To look for a demo, if you are on IE6, The form to create a new topic/add comment, will display this behaviour.


JD
http://jdk.phpkid.org

JD
Sunday, August 31, 2003

Are you by chance using the new Google toolbar?

The auto form fill feature highlights any form elements that it thinks it knows how to fill in in a light yellow. The info is taken from your profile that you've entered in the toolbar settings. Your name, address, email, etc. If you click the form fill button it will automatically fill in any of the yellow elements.

  --Josh

JWA
Sunday, August 31, 2003

Josh,

You are correct, Google toolbar was the culprit!

Thanks a lot for the pointer!

JD

JD
Sunday, August 31, 2003

*  Recent Topics

*  Fog Creek Home