userstyles.org - Wrap PRE text (http and https only)

(No screenshot available)
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 Wrap lines within PRE tagged text (19595).

To use this style, install Firefox and Stylish. If you already have Stylish, make sure this site is allowed to run JavaScript.

(Though installing Stylish is recommended, if your browser supports user scripts, you can also install this style as a user script.)

Wrap PRE text (http and https only)
12592
19596
Author David McRitchie
License CC-NC-SA
Created Jul 17, 2009
Updated May 23, 2011
Installs (this week) 1
Installs (total) 4,730
Show CSS

Notes

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 Wrap PRE text (http and https only)

Feedback

Discussions

No discussions posted yet. Be the first to ask a question or review this style.