Jeremy Newman : force pre tags to wrap in various browsers, fixes issues with pre tags in wwn issues with long strings.
Alexandre Julliard
julliard at winehq.org
Tue Dec 4 16:25:59 CST 2007
Module: website
Branch: master
Commit: 988eca4f0763ef8dd8e94516ea3340a7e700974d
URL: http://source.winehq.org/git/website.git/?a=commit;h=988eca4f0763ef8dd8e94516ea3340a7e700974d
Author: Jeremy Newman <jnewman at codeweavers.com>
Date: Mon Dec 3 12:29:27 2007 -0600
force pre tags to wrap in various browsers, fixes issues with pre tags in wwn issues with long strings.
---
winehq_styles.css | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/winehq_styles.css b/winehq_styles.css
index 1f8241e..f9e024f 100644
--- a/winehq_styles.css
+++ b/winehq_styles.css
@@ -28,7 +28,12 @@ A.hidden { text-decoration: none; color: #000000; }
OL,UL,P { font-size: 12px; }
TD,TR,TH { font-size: 12px; }
INPUT { font-size: 12px; }
-PRE { font-family: monospace; font-size: 12px; }
+PRE {
+ font-family: monospace; font-size: 12px;
+ white-space: pre-wrap;
+ white-space: -moz-pre-wrap !important;
+ word-wrap: break-word;
+ }
/* Hn Sizes */
H1 { font-size: 180%; }
@@ -147,4 +152,4 @@ p.indent { padding-left: 1em; padding-right: 1em;}
/* App Support status */
.gold { background-color: wheat; }
-.silver { background-color: silver; }
\ No newline at end of file
+.silver { background-color: silver; }
More information about the wine-cvs
mailing list