為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

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

了解更多

Why do some gifs look bad in Firefox?

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

more options

[[A side-by-side comparision (photo), showing the difference between how the image looks in Firefox vs Internet Explorer.|http://i.imgur.com/dtLN8.jpg]]

Can someone please help me? Its embarrassing the way this gif looks on my tumblr blog.

Thanks!

[[A side-by-side comparision (photo), showing the difference between how the image looks in Firefox vs Internet Explorer.|http://i.imgur.com/dtLN8.jpg]] Can someone please help me? Its embarrassing the way this gif looks on my tumblr blog. Thanks!

被選擇的解決方法

That image has an opacity specified that IE might not support:

img {-webkit-transition: opacity 0.55s linear; opacity: 0.65;} 
img:hover {-webkit-transition: opacity 0.85s linear; opacity: 0.95;}

There are also a lot of images on that page that are scaled up or down to 450px and Firefox doesn't (always) do a good job in scaling images (Bug 486918), so it is always best to avoid that to get the best results.


@namespace url("http://www.w3.org/1999/xhtml");
@-moz-document domain(that-somebody.tumblr.com){
 img { opacity:1 !important; }
}
從原來的回覆中察看解決方案 👍 0

所有回覆 (3)

more options

選擇的解決方法

That image has an opacity specified that IE might not support:

img {-webkit-transition: opacity 0.55s linear; opacity: 0.65;} 
img:hover {-webkit-transition: opacity 0.85s linear; opacity: 0.95;}

There are also a lot of images on that page that are scaled up or down to 450px and Firefox doesn't (always) do a good job in scaling images (Bug 486918), so it is always best to avoid that to get the best results.


@namespace url("http://www.w3.org/1999/xhtml");
@-moz-document domain(that-somebody.tumblr.com){
 img { opacity:1 !important; }
}

由 cor-el 於 修改

more options

Thanks for responding! I guess I'll try to recreate the gif and fix the scaling issue.

more options

You're welcome

That GIF image should be OK as I'm not seeing any issues with it on Linux and it isn't scaled (85x85).
Maybe only remove or override the CSS rule and set the opacity of that image to 1 as that isn't needed for that image.


.portrait { opacity: 1; }