{"url":"https://userstyles.org/styles/19595/wrap-lines-within-pre-tagged-text","name":"Wrap lines within PRE tagged text","description":"The primary use of the \u0026lt;PRE\u0026gt; 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.\r\n\r\nWrap long lines in \u0026lt;PRE\u0026gt; tags with  \r\n  PRE  {white-space: pre-wrap !important;}  \r\n\r\nIf you always want to do this you can put the above code into your  userChrome.css\r\n\r\nA variant is style 19596 (19596).","author":"David McRitchie","created":"2009-07-17T23:49:03.000Z","created_ago":"almost 17 years","updated":"2009-07-18T00:04:06.000Z","updated_ago":"almost 17 years","category":"global","subcategory":null,"weekly_installs":0,"total_installs":1237,"rating":"none","isPremium":false,"screenshot":null,"license":"http://creativecommons.org/licenses/by-nc-sa/3.0/"}