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

搜尋 Mozilla 技術支援網站

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

了解更多

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.