Hello.
Does anyone know what causes those nasty looking yellow text inputs in FireFox ?? I can't even style them to look more pleasant.
What are they meant to show??
| SitePoint Sponsor |



Hello.
Does anyone know what causes those nasty looking yellow text inputs in FireFox ?? I can't even style them to look more pleasant.
What are they meant to show??



This is what I'm talking about, by the way... scribblefactory.net/Guestbook/
The first text field has that aweful yellow background.



No, I mean in the webpages themselves. In forms.Originally Posted by all4nerds

They all have an awful pink colour when I look at them in FF. They're simply styled with CSS...Originally Posted by Shaun(OfTheDead)



The "awful pink colour" was intentional...Originally Posted by Raffles
![]()
The horrible yellow one wasn't.
I'd like to swap the horrible yellow for the awful pink, but I can't even style it away... Any ideas??

The Google toolbar does this. Once I disabled it it went away.
John Conde | Facebook | Twitter
Brainyminds Merchant Account Services I Love Code eBook Giant
Authorize.Net: AIM API | ARB API | CIM API Get the FREE code!
Merchant Accounts 101 | Ecommerce 101



Ore so that's what all4nerds meant !!...Originally Posted by stymiee
Okay then, so how can I prevent my viewers who use FF from seeing that ??...
I tried googling it and got a lot of results of people complaining about it, but no solutions.
Does anyone here know??

Try giving that input box a different name (not username). If that doesn't work, try changing the name of the label (not Name. Also wrap those up with <label for="inputelementitsfor"></label> tags.



ha!!
Now this is all well and good, but how now do my viewers know that they're supposed to put their name there??...
I wonder who's brilliant idea it was to bundle Google Toolbar with FireFox ??
I'm not going to resort to using an image for the label so I guess I'll just have to live with it... yaah :S
You can override this behavior by using something like:
on the rules for the inputs in question.Code:input { background-color: #ffefdf !important; }
However, this is frowned upon by accessibility purists who rightfully say let the user control it. I would agree, but in this case it would appear most people who have this little Google app installed are unaware and/or oblivious to all of the different behaviors it creates in forms.
Or you can use javascript to do it: http://code.jenseng.com/google/
NiceOriginally Posted by Tyssen
.




Google's. Mozilla are happy because Google will pay them for the priveledge. IIRC when you download Firefox from the Mozilla site you don't get the toolbar.Originally Posted by Shaun(OfTheDead)
Make sure you give it appropriate alt text or you've rendered it completely useless to anybody browsing without images. Of course the Google toolbar might pick up on that alt text...Originally Posted by Shaun(OfTheDead)
Why don't you let the google toolbar do it's job and let the user see which form elements it can auto-fill for them? If you don't like that, switch it off on your browser, but don't ruin that function for everybody else out there![]()
Olly Hodgson
thinkdrastic.net



Yeah but the thing is no one even know what the yellow form field means!!... They're just going to assume that that's how the webpage is supposed to look.Originally Posted by gnarly

If they're going to a page with forms other than yours (likely) they're sure to notice a pattern.Originally Posted by Shaun(OfTheDead)

I seriously wouldn't worry so much about it... most visitors using IE will see it anyway... I'm pretty sure it's on by default...Originally Posted by Shaun(OfTheDead)
Unless you are rally anal about the look of it in which you can always put a small text disclaimer there and say the yellow in the input field *is not* the fault of the designer :-)
Nadia
Unique CSS Templates by Nadia
Dreamweaver: Tutorials.Templates.CSS Designs
SitePoint Books |My Fireworks Tutorials 1 2
Follow me on Twitter | Community Team Advisor
There's a bit more to it than that. From an accessibility point of view, if you use a change of background colour on :focus to indicate to users where they are in a form, that change will be lost to people with the Google Toolbar (and FF's autofill extension) unless you override it.



Originally Posted by Nadia P
Hey. Yeah I did. The background:#ffefdf !important; thing did the trick. Thanks, John Wozniak.Originally Posted by all4nerds
![]()
Bookmarks