Trang web này sẽ có chức năng hạn chế trong khi chúng tôi trải qua bảo trì để cải thiện trải nghiệm của bạn. Nếu một bài viết không giải quyết được vấn đề của bạn và bạn muốn đặt câu hỏi, chúng tôi có cộng đồng hỗ trợ của chúng tôi đang chờ để giúp bạn tại @FirefoxSupport trên Twitter và /r/firefox trên Reddit.

Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

Why transparent images in Firefox have white background? It's not practical.

  • 4 trả lời
  • 5 gặp vấn đề này
  • 1 lượt xem
  • Trả lời mới nhất được viết bởi cor-el

more options

Default in Firefox transparent images have white background. When image have white elements there's an invisible.

Default in Firefox transparent images have white background. When image have white elements there's an invisible.

Tất cả các câu trả lời (4)

more options

hello Labeliteteta, you can use the following addon as a workaround: https://addons.mozilla.org/firefox/addon/transparent-standalone-imag/

more options

Thanks, but why it is don't default?

more options

it has been the default for a short time but apparently it was reverted in firefox 15, because there was lots of user feedback that the rendering of transparent images on dark background would be troublesome (though i don't know anything about the details of this and the cases where such issues would arise, i'm merely referencing this blog entry by a mozilla dev).

more options

You have a problem with images that have white details and do not display well on a light (white) background.

Other images may have dark details (e.g. line drawings) that do not display well on a dark background, so there is always a trade off. It would be good if you could right-click such a standalone image and set a specific background color if the default isn't working.

  • bug 754133 - Set background of standalone images (the image itself, not the whole page) to white

(please do not comment in bug reports)

It is added by this stylesheet:

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