Join the Mozilla’s Test Days event from 9–15 Jan to test the new Firefox address bar on Firefox Beta 135 and get a chance to win Mozilla swag vouchers! 🎁

تلاش سپورٹ

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.

مزید سیکھیں

Changing the background color when opening an image?

  • 3 جواب دیں
  • 36 میں یہ مسئلہ ہے
  • 126 دیکھیں
  • آخری جواب بذریعہ 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?

منتخب شدہ حل

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):

اس جواب کو سیاق و سباق میں پڑھیں 👍 7

تمام جوابات (3)

more options

منتخب شدہ حل

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.