Solved

Mozilla / Firefox Hijacking form fields

Posted on 2006-07-19
13
1,102 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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
Popup write two lines 3 32
CSS Scroll Center with Static Side. Like EE does. 2 46
Can't get video to center on page 2 46
ninja forms fields lay next to each other 1 21
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…
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…

734 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