Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

搜尋 Mozilla 技術支援網站

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

Learn More

web pages too big for screen but layout.css.devPixelsPerPx is missing in config

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

more options

I have followed all instructions to be able to adjust size of webpages but there is no layout.css.devPixelsPerPx to be able to make the adjustment - I do not want to use zoom for every page that I open - any advise please

I have followed all instructions to be able to adjust size of webpages but there is no layout.css.devPixelsPerPx to be able to make the adjustment - I do not want to use zoom for every page that I open - any advise please

被選擇的解決方法

Note that you can also use this extension to set the global zoom (layout.css.devPixelsPerPx) easily without having to go to the about:config page.

從原來的回覆中察看解決方案 👍 1

所有回覆 (2)

more options

How about the text of menus and toolbars: are those okay?

If so, you might want to use an extension to globally modify the default page zoom level. If you change layout.css.devPixelsPerPx, that also will affect the menu/toolbar text sizing.

I know of two extensions for changing the global zoom level:

After setting your Global zoom level, you can still fine-tune the zoom on individual sites using Firefox's standard zoom feature (keyboard shortcut or mouse wheel).


If you need to change the layout.css.devPixelsPerPx preference you really should be able to find it...

(1) In a new tab, type or paste about:config in the address bar and press Enter. Click the button promising to be careful.

(2) In the filter box, type or paste pix and pause while the list is filtered

(3) Double-click layout.css.devPixelsPerPx and change its value to 1.0 for fonts computed based on 96dpi, or choose a larger ratio for larger fonts. For example, 1.25 corresponds to 125% font size in Windows display settings. You may need to switch back and forth to other windows/tabs to see how it's affecting them. Be careful not to set this too small to read, i.e., be very cautious with values lower than 0.8.

more options

選擇的解決方法

Note that you can also use this extension to set the global zoom (layout.css.devPixelsPerPx) easily without having to go to the about:config page.