Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

Learn More

Autofill background color

  • 1 réponse
  • 2 ont ce problème
  • 4 vues
  • Dernière réponse par cor-el

more options

I have a dark themed website with light colored lable that is positioned inside the input field and having the autofill to autocolor the input's background yellow makes things look horrendous. I've tried the following CSS:

``` input:autofill, input:-moz-autofill, input:-webkit-autofill {

   filter: none !important;
   background: rgba(0, 98, 155, 0.35) !important;

} ```

On top of that, I tried changing that for myself in about:config changing ui.-moz-autofill-background to false, but after clearing browser cache and doing a hard-refresh, the yellow autofill background color persists.

That would be a personal fix, but I would rather firefox not murder the theme of my site for others and let me have control of what color the autofill background color should be (if I even want there to be a difference in colors). Am I missing something? I don't simply want to turn that off for myself (although I still want to, but it didn't work). I want to change it for everyone visiting my site. (Like I'm able to change the colors of link or border colors or background colors of other elements).

I have a dark themed website with light colored lable that is positioned inside the input field and having the autofill to autocolor the input's background yellow makes things look horrendous. I've tried the following CSS: ``` input:autofill, input:-moz-autofill, input:-webkit-autofill { filter: none !important; background: rgba(0, 98, 155, 0.35) !important; } ``` On top of that, I tried changing that for myself in '''about:config''' changing '''ui.-moz-autofill-background''' to '''false''', but after clearing browser cache and doing a hard-refresh, the yellow autofill background color persists. That would be a personal fix, but I would rather firefox not murder the theme of my site for others and let me have control of what color the autofill background color should be (if I even want there to be a difference in colors). Am I missing something? I don't simply want to turn that off for myself (although I still want to, but it didn't work). I want to change it for everyone visiting my site. (Like I'm able to change the colors of link or border colors or background colors of other elements).
Captures d’écran jointes

Toutes les réponses (1)

more options

The value of ui.-moz-autofill-background needs to be a valid color value like transparent.

Cela vous a-t-il été utile ?

Poser une question

Vous devez vous identifier avec votre compte pour répondre aux messages. Veuillez poser une nouvelle question, si vous n’avez pas encore de compte.