搜尋 Mozilla 技術支援網站

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

Learn More

Websites are rendering at 665px wide on a 1024x768 resolution

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

more options

I was looking into a complaint about site rendering at 1024x768 screen resolution and upon inspecting the web page with the window maximized and zoom set to 100%, the HTML and BODY tags are showing to only be 665px wide. They should be rendering closer to 1000 pixels. I have confirmed that nothing is checked off in the Compatibility tab, per this article: https://support.mozilla.org/en-US/kb/Screen%20resolution%20changes%20when%20starting%20Firefox

I replicated on Windows 7 using Firefox 32.0.3.

I was looking into a complaint about site rendering at 1024x768 screen resolution and upon inspecting the web page with the window maximized and zoom set to 100%, the HTML and BODY tags are showing to only be 665px wide. They should be rendering closer to 1000 pixels. I have confirmed that nothing is checked off in the Compatibility tab, per this article: https://support.mozilla.org/en-US/kb/Screen%20resolution%20changes%20when%20starting%20Firefox I replicated on Windows 7 using Firefox 32.0.3.

所有回覆 (3)

more options

You may have zoomed the page(s) by accident. Reset the page zoom on pages that cause problems.

  • View > Zoom > Reset (Ctrl/Command+0 (zero))
more options

As I stated, zoom was set to 0. That was my initial assumption and I checked it several times.

more options

You can rename (or delete) the content-prefs.sqlite file to content-prefs.sqlite.old in the Firefox profile folder to reset the page zoom for all websites.

What does the Box Model tab in the Web Console (Firefox/Tools > Web Developer) show?

You can check out on the browserspy website how websites see you: