Important Notice: We're experiencing email notification issues. If you've posted a question in the community forums recently, please check your profile manually for responses while we're working to fix this.

On Monday the 3rd of March, around 5pm UTC (9am PT) users may experience a brief period of downtime while one of our underlying services is under maintenance.

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Whenever I load a picture file (.jpg) in firefox, it shows a checkered grid for the empty borders. Is there any way I can change this to a solid color?

  • 4 回覆
  • 2 有這個問題
  • 4 次檢視
  • 最近回覆由 cor-el

more options

It used to be a solid gray in some older versions of firefox (14 or earlier), so it has to be customizable.

For now it's showing a checkered grid consisting of cyan and white squares.

Already tried adding "background-color: #00000;" to userchrome.css. It did nothing.

It used to be a solid gray in some older versions of firefox (14 or earlier), so it has to be customizable. For now it's showing a checkered grid consisting of cyan and white squares. Already tried adding "background-color: #00000;" to userchrome.css. It did nothing.

被選擇的解決方法

Thanks for trying to help but I don't think you've bothered to read the question at all. Flash has no effect on displaying jpg files because it's not even running, nor do any of the other plugins unless they specifically target JPEGs

But anyways I found a solution if anyone has the same problem. Read the thread here.

http://forums.mozillazine.org/viewtopic.php?f=38&t=2673125

從原來的回覆中察看解決方案 👍 0

所有回覆 (4)

more options

Uploaded and linked a picture for reference.

I'd like to change the checkered grid around the picture to a different and solid color.

http://imgur.com/QmCs3FJ

more options

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

  • Do NOT click the Reset button on the Safe Mode start window.

In Firefox Safe mode these changes are effective:

  • all extensions are disabled
  • default theme is used (no persona)
  • userChrome.css and userContent.css are ignored
  • default toolbar layout is used (localstore-safe.rdf)
  • Javascript JIT compilers are disabled (javascript.options.*jit)
  • hardware acceleration is disabled

Please update your outdated Shockwave Flash 11.2 r202 version.

You can find the latest Flash player versions for Firefox on this page.

more options

選擇的解決方法

Thanks for trying to help but I don't think you've bothered to read the question at all. Flash has no effect on displaying jpg files because it's not even running, nor do any of the other plugins unless they specifically target JPEGs

But anyways I found a solution if anyone has the same problem. Read the thread here.

http://forums.mozillazine.org/viewtopic.php?f=38&t=2673125

more options

My remark about Flash stands apart from your question and is meant to make you aware that you should always make sure to update your plugins because outdated plugins with exposed security risks can make you vulnerable.


I'm not sure how you got this checkered background because the default would be a black background unless that is different on Windows.

  • chrome://global/skin/media/TopLevelImageDocument.css
  • resource://gre/res/TopLevelImageDocument.css