
A client just came back on a recent project and mentioned that his, rather prominently placed, email subscription box was adopting an obscure yellow background (instead of the white background it was supposed to have).
So I replied and asked which browser, expecting it just to be IE6, but to my surprise he came back and informed me that it was happening in all browsers running on his XP computer. I’d already set background: #FFF on the element so knew that something in outside of the browser and my CSS was causing this.
Now, I must admit, that my first reaction was to blame Windows XP (it’s a Microsoft product!) but then the client informed me that when he disabled Google Toolbar it went away. So some digging turned up that basically, this is how Google Toolbar indicates if it has data that can autofill a specific <input />.
I appreciate that Google Toolbar needs a way to indicate this, but to overrule my own CSS rules was going a little far, as in this case it really did interfere with the layout. In the end, the simplest hack was to remove the term “email” from the id and name attributes of the <input />, but it would be my suggestion that Google approached this a little more intelligently and didn’t attack my CSS.
Added 5 months ago by Elliot Jay Stocks
Added 4 months, 4 weeks ago by Phunky
Added 4 months, 4 weeks ago by Matthew Wood
Added 4 months, 3 weeks ago by Tom
Added 4 months, 3 weeks ago by Indranil