Mozilla VPN is currently experiencing an outage. Our team is actively working to resolve the issue. Please check the status page for real-time updates. Thank you for your patience.

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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.