Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

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 ».

En savoir plus

How can I restore the background color Firefox 13 used for displaying images?

  • 4 réponses
  • 4 ont ce problème
  • 12 vues
  • Dernière réponse par WCityMike

more options

I preferred the darker background color introduced in Firefox 13 for when images were displayed standalone, as opposed to the glaring white. How can I restore that behavior?

I preferred the darker background color introduced in Firefox 13 for when images were displayed standalone, as opposed to the glaring white. How can I restore that behavior?

Solution choisie

Well, as far as I could tell, a large number of themes suddenly began using a white background for their display of standalone images.

Rather than all of these various theme creators individually making a choice to begin using a white background for their display of standalone images effective with Firefox 14, I personally suspect that something was changed in Firefox 14 wherein if a theme creator doesn’t specify what color to use when displaying a standalone image, it defaults to white.

In any case, this userstyle, coupled with hex color #232323, seems to do the trick in getting the behavior I’m seeking.

Lire cette réponse dans son contexte 👍 0

Toutes les réponses (5)

more options

That should still happen.

Start Firefox in Safe Mode to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance/Themes).


You can also check for a userChrome.css file with code to change the background color.

The customization files userChrome.css (interface) and userContent.css (websites) are located in the chrome folder in the user profile folder.

more options

With respect, I don't think you're right regarding it "should still happen". See this:

https://bugzilla.mozilla.org/show_bug.cgi?id=754133

And I have no idea what CSS code would be used to alter this particular circumstance.

more options

This bug is about the background of transparent images that shouldn't have the default background color.

Appears to be fixed in the current Firefox 15 beta version.

more options

It does appear to be something particular to my profile. Restarting in safe mode in the normal theme shows a gray theme. However, it appears narrowing it down will take some doing. Even with Stylish, Greasemonkey, and AdBlock Plus shut off, various themes still show standalone images with a white background.

Modifié le par WCityMike

more options

Solution choisie

Well, as far as I could tell, a large number of themes suddenly began using a white background for their display of standalone images.

Rather than all of these various theme creators individually making a choice to begin using a white background for their display of standalone images effective with Firefox 14, I personally suspect that something was changed in Firefox 14 wherein if a theme creator doesn’t specify what color to use when displaying a standalone image, it defaults to white.

In any case, this userstyle, coupled with hex color #232323, seems to do the trick in getting the behavior I’m seeking.