Many web pages with fixed formatting do not fit on my screen without scrolling left to right. I suspect that in some cases the web page attempts to determine my screen width and adapt to it, but fails because I use a 125% or 150% zoom factor.

Some time ago, Opera had a simple command to override all preformatted line widths and force text scrolling, but I haven't found a general solution since then. I looked at the question How can I make Firefox word-wrap text/plain files? which had some answers for firefox, but both the extension suggested and the .css file seem to be out of date. I couldn't find any css files in my extension folder, so either they've changed it or I didn't understand where to look.

Ideally I would like a solution for Opera, but one for Firefox would be more helpful to the community and might be easier for someone to answer.

So, how can I force an unconditional text wrap to fit my screen in Firefox? Suggestions for any browser would be considered helpful, but an answer containing a solution for Firefox is preferred.

  • Just FYI, some stackexchange sites have the problem. Super User is good now, but Space Exploration extends off right edge. Usually it's ok, because the main text remains on the screen -- at worst I right scroll once to position the main text in the middle. – bitchaser Sep 9 '18 at 22:45

Yes, it seems text wrap is nowhere to be found anymore, at least in Firefox. But it may not be Mozilla's fault entirely if a website forces their CSS on you, disregarding your FF Profile.

I am not so familiar with Opera but there is one suggestion, not ideal but a workaround for now: Select "View" and then 'Enter Reader View'. It may not give you any fancy boxes etc. - but you could at least read the website's text and content on a small screen.

To switch back is very simple: just click the left top button to restore the page to normal. I wish to have a better solution - hopefully, someone else may be able to know more.

  • I forgot to mention, if the website shows the option to select for mobile [the 3 or 5 lines] icon, you can switch temporarily to view in the mobile format. – Mediapuck Sep 9 '18 at 21:53
  • Ok, at first I didn't know where to look (and did not find this in the menu. But the help information told me there is an icon for that in the address bar. It works, and seems like a bit of an overkill, but it's easy to switch back and makes "walls of text" readable when it would otherwise be hopeless, so I will accept the answer if it appears there is no better one. I think I should still be able to override with css and I'm hoping someone will know how. – bitchaser Sep 9 '18 at 22:04

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.