Wrap PRE text (http and https only)

Added by David McRitchie@userstyles, Created: Jul 16, 2009, Updated: May 23, 2011
  • With the style applied (Generated screenshot)
  • Without the style applied (Generated screenshot)


This is a variant to only process PRE statements on websites but not on local webpages. This is so that someone creating webpages will see them as others might see the page with text running off of the page and take steps to fix the problem.

@-moz-document url-prefix(h)
{PRE {white-space: pre-wrap !important;} }

The original is http://freestyler.ws/style/15046/wrap-lines-within-pre-tagged-text (19595).

More info
Some background:
Bug 261081 – Add support for pre-wrap value of white-space, RESOLVED FIXED
Bug 433065 – remove support for -moz-pre-wrap, RESOLVED FIXED

As a userstyle:
2009-07-17 installed http://freestyler.ws/style/15047/wrap-pre-text-http-and-https-only

Applies to:
http://, https://

Related styles:

WARNING: This webware is not functioning properly. Please enable javascript in your browser and try again.