This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Èròjà atẹ̀lélànà yii ni a ti fi pamọ́ fọ́jọ́ pípẹ́. Jọ̀wọ́ béèrè ìbéèrè titun bí o bá nílò ìrànwọ́.

Changing the background color when opening an image?

  • 3 àwọn èsì
  • 36 ní àwọn ìṣòro yìí
  • 1 view
  • Èsì tí ó kẹ́hìn lọ́wọ́ cor-el

more options

I just installed Firefox on my new Windows laptop, and when I open an image in a new tab the background around the image is a dark gray. On my old computer the background is white, which I much prefer. How do I change this setting?

I just installed Firefox on my new Windows laptop, and when I open an image in a new tab the background around the image is a dark gray. On my old computer the background is white, which I much prefer. How do I change this setting?

Ọ̀nà àbáyọ tí a yàn

It is a new feature in Firefox 11+ versions to display a single image centered with an almost black background.

It is added by this stylesheet:

  • resource://gre/res/TopLevelImageDocument.css

You can look at this extension to set your preferred background color and remove the centering.

See also these forum threads for other solutions (e.g. userContent.css):

Ka ìdáhùn ni ìṣètò kíkà 👍 7

All Replies (3)

more options

Ọ̀nà àbáyọ Tí a Yàn

It is a new feature in Firefox 11+ versions to display a single image centered with an almost black background.

It is added by this stylesheet:

  • resource://gre/res/TopLevelImageDocument.css

You can look at this extension to set your preferred background color and remove the centering.

See also these forum threads for other solutions (e.g. userContent.css):

more options

Wow, thanks for the quick reply. That add on did exactly what I wanted.

more options

You're welcome