Related styles:
-
Created: Apr 26, 2009Last Updated: Apr 27, 2009
-
Created: Jul 16, 2009Last Updated: May 23, 2011
-
Created: Oct 03, 2008Last Updated: Jan 29, 2009
-
Created: Jun 19, 2015Last Updated: Jun 29, 2015
-
Created: Apr 07, 2009Last Updated: Jul 01, 2011
-
Created: Jan 15, 2011Last Updated: Jan 16, 2011
-
Created: Nov 23, 2008Last Updated: Nov 25, 2008
-
Created: May 30, 2010Last Updated: Sep 13, 2015
-
Created: Aug 05, 2012Last Updated: Aug 06, 2012




Wrap lines within PRE tagged text
Description:
tag in HTML is to display code or other material where the character and line spacing is wanted as written with a fixed font (non-proportional) and will not flow from one line to another. Sometimes there is not enough space to properly display text and it will fall off of the edge of the page or overlap with something to the right. There is a special white-space attribute to handle this ("pre-wrap") but it is not the default by any means.
Wrap long lines in
More info
Additional Infomation:
Paragraphs, Lines, and Phrases
9.3.4 Preformatted text: The PRE element
http://www.w3.org/TR/REC-html40/struct/text.html#edef-PRE
16.6 White space: the 'white-space' property
http://www.w3.org/TR/CSS2/text.html#white-space-prop
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
Updates: since 2009-07-17 installed as http://freestyler.ws/style/15046/wrap-lines-within-pre-tagged-text
(None)
First install FreeStyler to use this style.
If you already installed it, please, make sure this site is allowed to run JavaScript.But you can download Freestyler for other browsers and apply styles there!
Applies to:
all URLs