为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

bigger on firefox than on Chrome

  • 2 个回答
  • 1 人有此问题
  • 3 次查看
  • 最后回复者为 cor-el

more options

I am developing a website and I am doing my best to make look the same on all browsers. I started developing the website on Chrome. I then tried it on Firefox and noticed how the website (images, text, etc) look much bigger on firefox then on Chrome. The same applies for IE.

To make Chrome show the website like Firefox I need to go to the Chrome and set Zoom to 120%.

To make Firefox show the website like Chrome I need to go to Firefox and set Zoom out (on Firefox I never get same view as on Chrome however, div's width does not seem to change).

I was wondering if anyone has seen this issue? From where it is coming? and if there is a way how I can fix zoom at 100% on all browsers (from CSS?) so that someone would not need to change his browser settings so to see the website the same on all browsers.

I am developing a website and I am doing my best to make look the same on all browsers. I started developing the website on Chrome. I then tried it on Firefox and noticed how the website (images, text, etc) look much bigger on firefox then on Chrome. The same applies for IE. To make Chrome show the website like Firefox I need to go to the Chrome and set Zoom to 120%. To make Firefox show the website like Chrome I need to go to Firefox and set Zoom out (on Firefox I never get same view as on Chrome however, div's width does not seem to change). I was wondering if anyone has seen this issue? From where it is coming? and if there is a way how I can fix zoom at 100% on all browsers (from CSS?) so that someone would not need to change his browser settings so to see the website the same on all browsers.

所有回复 (2)

more options

hello, have you set windows to display at larger than 100% in the windows control panel > appearance > display? firefox will adhere to this setting...

more information about that is available at http://windows.microsoft.com/en-us/windows7/make-the-text-on-your-screen-larger-or-smaller

more options

You can set the layout.css.devPixelsPerPx pref on the about:config page to 1.0 You can adjust layout.css.devPixelsPerPx starting from 1.0 in 0.1 or 0.05 steps to make icons show correctly.

You can open the about:config page via the location/address bar. You can accept the warning and click "I'll be careful" to continue.

Use an extension to adjust the text size in the user interface and the page zoom in the browser window.

You can look at this extension to adjust the font size for the user interface.

You can look at the Default FullZoom Level or NoScript extension if web pages need to be adjusted after changing layout.css.devPixelsPerPx.