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

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; }
participants (1)
-
noreply.seb@qos.ch