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

搜尋 Mozilla 技術支援網站

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

了解更多

Firefox 13 Rendering Websites Differently Than FF11/12

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

more options

CSS and Image rendering problems ONLY with Firefox 13...

I am a web developer, so browsers displaying code differently is not foreign. What is foreign to me, is having Firefox be the only browser that's rendering the code incorrectly. Please see two examples below:

http://powellcareandrepair.web12.hubspot.com/ http://www.facebook.com/sv.capella1

In Powell Care the flash button is off by one pixel causing a white line down the side of the button. This only occurs in FF13. The site renders correctly in ie9, Chrome, Safari, Firefox 11 and Firefox 12.

In the second example the Facebook page has a profile picture which lines up with the cover photo. Again this works correctly in ie9, Chrome, Safari, Firefox 11 and Firefox 12, but not Firefox 13.

My question is what's going on here? How does code that previously worked in the last two versions of Firefox (11+12) now all of the sudden not work in 13?

Any help would be appreciated. Is there something that I've coded wrong, with the exception of Facebook which will not change. This doesn't make sense to me.

CSS and Image rendering problems ONLY with Firefox 13... I am a web developer, so browsers displaying code differently is not foreign. What is foreign to me, is having Firefox be the only browser that's rendering the code incorrectly. Please see two examples below: http://powellcareandrepair.web12.hubspot.com/ http://www.facebook.com/sv.capella1 In Powell Care the flash button is off by one pixel causing a white line down the side of the button. This only occurs in FF13. The site renders correctly in ie9, Chrome, Safari, Firefox 11 and Firefox 12. In the second example the Facebook page has a profile picture which lines up with the cover photo. Again this works correctly in ie9, Chrome, Safari, Firefox 11 and Firefox 12, but not Firefox 13. My question is what's going on here? How does code that previously worked in the last two versions of Firefox (11+12) now all of the sudden not work in 13? Any help would be appreciated. Is there something that I've coded wrong, with the exception of Facebook which will not change. This doesn't make sense to me.

所有回覆 (4)

more options

You may get lucky and have a reply here you probably have a better chance on the mozillazine forum

It is probably a good idea to check the site code compliance using the W3C validator

Firefox does try to keep up with the standards, so there may well be some differences between versions see for instance

Note also comments in locked thread /questions/930756


P.S.
You may be able to spot something in the release notes that accounts for the difference:

由 John99 於 修改

more options

Those pages look seamless and sharp to me.

In case your zoom setting is a factor, press Ctrl+0 (that's a zero) to reset to default.

For the record, I've disabled smooth scrolling and graphics hardware acceleration. You could test one or both of those if you like:

(1) Smooth Scrolling

orange Firefox button or classic Tools menu > Options > Advanced

On the "General" mini-tab, uncheck the box for "Use smooth scrolling"

(2) Graphic Acceleration

You usually need to restart Firefox in order for this to take effect, so save all work first (e.g., mail you are composing, online documents you're editing, etc.).

orange Firefox button or classic Tools menu > Options > Advanced

On the "General" mini-tab, uncheck the box for "Use hardware acceleration when available"

Then restart and view your pages again. Does that make any difference?

more options

@John99 and @jscher2000 thank you both for the replies. I'm testing some more and will keep you posted.

Interesting is the Facebook page link: http://www.facebook.com/sv.capella1 as I have no control over that, but know that it was previously working in the browsers I listed.

more options

If use text zoom of 90% or 80% or full zoom of 110% on the http://powellcareandrepair.web12.hubspot.com/ page then the two flash object align OK, so it looks that some white space or text gets rendered differently.