This is my own test of "Toggle Word Wrap" extension to test for evaluation of the the extension seen at http://www.mvps.org/dmcritchie/firefox/firefox.htm#togglewordwrap

If updating test make sure format, word wrap is turned OFF in notepad.

Firefox, Mozilla, Internet Explorer, and Opera all provide proprietary methods of allowing wrapping text of lines that would otherwise extend as in <PRE>>...</PRE>, which is described in http://myy.helia.fi/~karte/pre-wrap-css3-mozilla-opera-ie.html

If you want a permanent solution for your own use within Firefox you can add the following lines to your userContent.css in your chrome directory, will not apply to images only to text.

/* ===== Force text to wrap when it is longer than the screen width ===== */
pre {white-space:-moz-pre-wrap} 
If you want to instead be able to toggle this ability use the toggle-word-wrap extension. (my notes)

For test please change the width of the window, and if you have installed the toggle word wrap extension also test changing with the View (menu), Enable word wrap for <PRE> element.

The url added to this example both as text and as a link was because of a Firefox newsgroup thread Wrapping hyperlinks (2006-11-29).

Plain text

For Firefox, checking "Enable Word Wrap for PRE Elements" in the View menu will temporarily enable word wrapping for PRE tags in the current document (by adding a CSS rule to he HEAD element). Unchecking the menu entry will revert the document to the previous state (no word wrapping).

http://64.233.161.104/search?q=cache:oc2zFydohKoJ:www.crystalra.com/pdf/HEMOBIOTECH_EIO_12-21-05.pdf+TOXICITIES+AND+LABORATORY+FINDINGS+THOUGHT+TO+BE+ASSOCIATED+WITH+THE+USE+OF+HEMOGLOBIN-BASED+OXYGEN+THERAPEUTICS+vasoactivity+cardiac+toxicity+gastrointestinal+toxicity+oxidative+stress&hl=en&gl=us&ct=clnk&cd=3 http://64.233.161.104/search?q=cache:oc2zFydohKoJ:www.crystalra.com/pdf/HEMOBIOTECH_EIO_12-21-05.pdf+TOXICITIES+AND+LABORATORY+FINDINGS+THOUGHT+TO+BE+ASSOCIATED+WITH+THE+USE+OF+HEMOGLOBIN-BASED+OXYGEN+THERAPEUTICS+vasoactivity+cardiac+toxicity+gastrointestinal+toxicity+oxidative+stress&hl=en&gl=us&ct=clnk&cd=3


PRE without style -- extends as ONE line [by default]

For Firefox, checking "Enable Word Wrap for PRE Elements" in the View menu will temporarily enable word wrapping for PRE tags in the current document (by adding a CSS rule to  he HEAD element). Unchecking the menu entry will revert the document to the previous state (no word wrapping).

http://64.233.161.104/search?q=cache:oc2zFydohKoJ:www.crystalra.com/pdf/HEMOBIOTECH_EIO_12-21-05.pdf+TOXICITIES+AND+LABORATORY+FINDINGS+THOUGHT+TO+BE+ASSOCIATED+WITH+THE+USE+OF+HEMOGLOBIN-BASED+OXYGEN+THERAPEUTICS+vasoactivity+cardiac+toxicity+gastrointestinal+toxicity+oxidative+stress&hl=en&gl=us&ct=clnk&cd=3 

http://64.233.161.104/search?q=cache:oc2zFydohKoJ:www.crystalra.com/pdf/HEMOBIOTECH_EIO_12-21-05.pdf+TOXICITIES+AND+LABORATORY+FINDINGS+THOUGHT+TO+BE+ASSOCIATED+WITH+THE+USE+OF+HEMOGLOBIN-BASED+OXYGEN+THERAPEUTICS+vasoactivity+cardiac+toxicity+gastrointestinal+toxicity+oxidative+stress&hl=en&gl=us&ct=clnk&cd=3 

PRE with style="word-wrap:break-word;" [works in IE/Fx/Mozilla, not Opera]

For Firefox, checking "Enable Word Wrap for PRE Elements" in the View menu will temporarily enable word wrapping for PRE tags in the current document (by adding a CSS rule to  he HEAD element). Unchecking the menu entry will revert the document to the previous state (no word wrapping).

http://64.233.161.104/search?q=cache:oc2zFydohKoJ:www.crystalra.com/pdf/HEMOBIOTECH_EIO_12-21-05.pdf+TOXICITIES+AND+LABORATORY+FINDINGS+THOUGHT+TO+BE+ASSOCIATED+WITH+THE+USE+OF+HEMOGLOBIN-BASED+OXYGEN+THERAPEUTICS+vasoactivity+cardiac+toxicity+gastrointestinal+toxicity+oxidative+stress&hl=en&gl=us&ct=clnk&cd=3 

http://64.233.161.104/search?q=cache:oc2zFydohKoJ:www.crystalra.com/pdf/HEMOBIOTECH_EIO_12-21-05.pdf+TOXICITIES+AND+LABORATORY+FINDINGS+THOUGHT+TO+BE+ASSOCIATED+WITH+THE+USE+OF+HEMOGLOBIN-BASED+OXYGEN+THERAPEUTICS+vasoactivity+cardiac+toxicity+gastrointestinal+toxicity+oxidative+stress&hl=en&gl=us&ct=clnk&cd=3 

PRE with style="white-space:-moz-pre-wrap; [ok in Mozilla/Fx, not IE/Opera]

For Firefox, checking "Enable Word Wrap for PRE Elements" in the View menu will temporarily enable word wrapping for PRE tags in the current document (by adding a CSS rule to  he HEAD element). Unchecking the menu entry will revert the document to the previous state (no word wrapping).
 
http://64.233.161.104/search?q=cache:oc2zFydohKoJ:www.crystalra.com/pdf/HEMOBIOTECH_EIO_12-21-05.pdf+TOXICITIES+AND+LABORATORY+FINDINGS+THOUGHT+TO+BE+ASSOCIATED+WITH+THE+USE+OF+HEMOGLOBIN-BASED+OXYGEN+THERAPEUTICS+vasoactivity+cardiac+toxicity+gastrointestinal+toxicity+oxidative+stress&hl=en&gl=us&ct=clnk&cd=3 

http://64.233.161.104/search?q=cache:oc2zFydohKoJ:www.crystalra.com/pdf/HEMOBIOTECH_EIO_12-21-05.pdf+TOXICITIES+AND+LABORATORY+FINDINGS+THOUGHT+TO+BE+ASSOCIATED+WITH+THE+USE+OF+HEMOGLOBIN-BASED+OXYGEN+THERAPEUTICS+vasoactivity+cardiac+toxicity+gastrointestinal+toxicity+oxidative+stress&hl=en&gl=us&ct=clnk&cd=3 

  You have JavaScript turned OFF, and will be missing your Firefox version information under this topic. 
 


This page was introduced on August 7, 2006, and was originally intended as a simple test, and will remain excluded from search engines with a NOINDEx robots meta tag.
[Go Back] [Return to TOP]