搜尋 Mozilla 技術支援網站

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

了解更多

Unable to change the text size

  • 4 回覆
  • 4 有這個問題
  • 1 次檢視
  • 最近回覆由 cranfan

more options

I am testing a site and cannot get any response in FF mobile if I change the text size in Settings/Display/Text size. The text just stays the same size regardless of if I set small or extra large.

The site will zoom 'text only' in FF desktop and also does so in all other browsers I have tested (including mobiles) that have this type of facility. I therefore think it is unlikely to be the design of the site.

I know it is possible to double tap and increase the level of page zoom but as FF mobile has a text size option in its menu I would like t be able to test it.

I have the problem with both android 4.2 and 4.4 and my browser is up to date.

Thanks.

I am testing a site and cannot get any response in FF mobile if I change the text size in Settings/Display/Text size. The text just stays the same size regardless of if I set small or extra large. The site will zoom 'text only' in FF desktop and also does so in all other browsers I have tested (including mobiles) that have this type of facility. I therefore think it is unlikely to be the design of the site. I know it is possible to double tap and increase the level of page zoom but as FF mobile has a text size option in its menu I would like t be able to test it. I have the problem with both android 4.2 and 4.4 and my browser is up to date. Thanks.

被選擇的解決方法

The text size only inflated for sites that are 'desktop' sites. For the full gritty details see http://www.jwir3.com/blog/2012/07/30/font-inflation-fennec-and-you/

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

所有回覆 (4)

more options

選擇的解決方法

The text size only inflated for sites that are 'desktop' sites. For the full gritty details see http://www.jwir3.com/blog/2012/07/30/font-inflation-fennec-and-you/

more options

Thank you, interesting article.

Preumably the browser determines that on my site further font inflation in not appropriate, probably due to container dimensions?

I will need to read the article several times for a full grasp. Thanks.

more options

The main thing is setting a meta viewport element on your page.

more options

Mine is <meta name="viewport" content="width=800" />.

A fixed width works best in this instance.