[logback-dev] svn commit: r725 - logback/trunk/logback-skin/src/main/resources/css

noreply.seb at qos.ch noreply.seb at qos.ch
Fri Oct 20 15:46:01 CEST 2006


Author: seb
Date: Fri Oct 20 15:46:00 2006
New Revision: 725

Modified:
   logback/trunk/logback-skin/src/main/resources/css/print.css

Log:
The end of css war (hopefully): this should be the killer way of displaying code correctly in all browsers and their print-preview

Modified: logback/trunk/logback-skin/src/main/resources/css/print.css
==============================================================================
--- logback/trunk/logback-skin/src/main/resources/css/print.css	(original)
+++ logback/trunk/logback-skin/src/main/resources/css/print.css	Fri Oct 20 15:46:00 2006
@@ -20,6 +20,14 @@
 	margin-left: 0px; /*was: 197*/
 }
 
+pre {
+ white-space: pre-wrap; /* css-3 */
+ white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
+ white-space: -pre-wrap; /* Opera 4-6 */
+ white-space: -o-pre-wrap; /* Opera 7 */
+ word-wrap: break-word; /* Internet Explorer 5.5+ */
+}
+
 table.bodyTable td {
 	vertical-align: text-top;
 }



More information about the logback-dev mailing list