Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

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

  • 4 ответа
  • 4 имеют эту проблему
  • 12 просмотров
  • Последний ответ от 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?

Выбранное решение

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.

Прочитайте этот ответ в контексте 👍 0

Все ответы (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.

Изменено WCityMike

more options

Выбранное решение

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.