Solved

Mozilla / Firefox Hijacking form fields

Posted on 2006-07-19
13
1,100 Views
Last Modified: 2008-01-09
How do I stop firefox from turning my form fields yellow? Its killing my design.
0
Comment
Question by:cipiWeb
  • 6
  • 4
  • 3
13 Comments
 
LVL 18

Accepted Solution

by:
bruno earned 125 total points
ID: 17140673
firefox isn't doing anything to your form fields, however i bet you have the google toolbar installed....
0
 

Author Comment

by:cipiWeb
ID: 17140773
That I do
0
 
LVL 18

Expert Comment

by:bruno
ID: 17140777
that's what's turning your form fields yellow.   don't blame firefox, firefox is perfect.  :-)
0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

Author Comment

by:cipiWeb
ID: 17140856
Nothing is perfect, but firefox is a damn good browser.

I uninstalled the toolbar, that did the trick.
0
 

Author Comment

by:cipiWeb
ID: 17140859
*darn good
0
 
LVL 18

Expert Comment

by:bruno
ID: 17140902
you could just turn off AutoFill functionality in the toolbar - no need to uninstall the entire thing.

keep in mind though that anyone with the toolbar installed and autofill turned on will see the yellow fields.
0
 
LVL 30

Expert Comment

by:GrandSchtroumpf
ID: 17149862
the gecko rendering engine is not perfect... but it emproves with each release.
to override the Google toolbar's yellow color, use the "important" modifier:

input {
  color: white !important;
  background: black !important;
}
0
 
LVL 18

Expert Comment

by:bruno
ID: 17150278
Keep in mind that users who actually USE the AutoFill functionality might WANT to see the yellow fields - or else they will wonder why your form isn't compatible with AutoFill.
0
 
LVL 30

Expert Comment

by:GrandSchtroumpf
ID: 17151067
> Keep in mind that users who actually USE the AutoFill functionality might WANT to see the yellow fields
But they probably don't want to see white text on yellow background.

AutoFill does not respect the rule that foreground and background colors should always be specified together at each level.  That means overriding the AutoFill background color is better for accessibility.
0
 
LVL 18

Expert Comment

by:bruno
ID: 17151114
I beg to disagree - if the user has a problem with colors, they shouldn't be using a tool that might cause them more issues.  However, I don't think catering to that limited number of users is worth ruining the experience of a tool that others have installed to help them.  
0
 
LVL 30

Expert Comment

by:GrandSchtroumpf
ID: 17151347
> I beg to disagree - if the user has a problem with colors, they shouldn't be using a tool that might cause them more issues.
Tell me who does not have a problem with white text on yellow background... and it could be worse like yellow text on yellow background.  Overriding the colors does not affect the AutoFill functionalities.  And, if you do a suvey, i'm sure the majority of the google toolbar users don't even know what those yellow fields mean.  That yellow background is BAD and should be overriden until it's correctly implemented.
0
 
LVL 18

Expert Comment

by:bruno
ID: 17152947
I don't agree - you're taking the choice away from the user.  Right now the user can choose to have autofill on or off, can choose to see the yellow or not.

by overriding, the user no longer has a choice to use the tool that THEY installed in the manner it was meant to be used.  

I'm not a fan of the yellow fields either, but I'd rather let the toolbar color them before i take control away from the user
0
 
LVL 30

Expert Comment

by:GrandSchtroumpf
ID: 17153154
The question is not whether you should restrict the user's freedom or not...
It's about fixing a bad/wrong/unaccessible feature of the toolbar.
Do you really think having yellow text on yellow background is something the users want?
Do you really think the users want to have to modify their settings for your particular page?

If you don't override tha AutoFill background color, then you should not specify ANY color/background on your AutoFill form elments and on all their containers.  This way, it's the user's responsablility to ensure the default colors have a good enough contrast with the AutoFill's background.

The users can always disable your stylesheets...  then they will see the page using their own preferences, including the yellow background on AutoFill.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to Left-Align Navigation bar? 4 34
Wrapper for APPs 9 84
CSS to create a button that has inward arrows at both ends 1 31
Bootstrap 3 - Style a dropdown 1 10
CSS3 Custom checkboxes This article shows how to style the checkbox form element using only CSS. Works in: Chrome, FF, Safari, Opera, IE9+ Uses modernizr.js to check for :checked pseudo class, falling back to plain old checkboxes (IE8 and bel…
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
In this Micro Tutorial viewers will learn how to create a CSS image sprite (In a later tutorial, viewers will learn how to use CSS and HTML to create a navigation menu using this sprite) Open a new Photoshop document with a width of (Icon width)x(N…
In this tutorial viewers will learn how to customize the background color and font color of highlighted text using the ::selection element in CSS Begin by defining the selected text as an element in CSS by typing "::selection": Style the ::selection…

791 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question