Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

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

搜尋 Mozilla 技術支援網站

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

了解更多

how can I force word wrap when resizing the browser to a narrower setting?

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

more options

I find it easier to read webpages with the firefox window narrowed (i.e. less words per line). I also often need to zoom the text on web pages to make it readable. However some sites won't wrap text when I do this, and some will wrap but still cut off some words. Can I set firefox to force wrapping, and make it work regardless of the font size?

I find it easier to read webpages with the firefox window narrowed (i.e. less words per line). I also often need to zoom the text on web pages to make it readable. However some sites won't wrap text when I do this, and some will wrap but still cut off some words. Can I set firefox to force wrapping, and make it work regardless of the font size?

所有回覆 (5)

more options
more options

If a website uses absolute values for the width property of containers then you can't force word wrap with zooming or an increased font-size.
You would need to create overriding CSS rules in Stylish to make this work or use the build-in Inspector.
Only if you visit such a website frequently (daily) then it is worth the effort to see if you can make this work.

Current Firefox versions have a lot of web developer tools build-in.

more options

Thanks iamjayakumars, ...but from my reading of the description on add-on site, it still doesn't seem to overcome the problem of text going off the screen, It mentions a horizontal scroll bar appearing once the zoom reaches a certain level.

more options

Thanks cor-el, This answer MAY be beyond my current technical ability, but I will have a look at your links and see if I can get my head around it.

more options

Maybe try to ask advice at the Stylish forum: *http://forum.userstyles.org