We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

搜索 | 用户支持

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

详细了解

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