summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2008-09-20 07:07:57 +0000
committeralecpl <alec@alec.pl>2008-09-20 07:07:57 +0000
commitcc80c556e6b0c7c861b5f1fb6b9d1f54cc571cfe (patch)
tree7dc02281b6309360cda4aca972db78a666a391a1
parent42e328a85f5880e3e767eebaaa88b55a2b49d2ff (diff)
- fix wrapping on IE
-rw-r--r--skins/default/mail.css3
-rw-r--r--skins/default/print.css5
2 files changed, 5 insertions, 3 deletions
diff --git a/skins/default/mail.css b/skins/default/mail.css
index 9f64ea615..0c10ff717 100644
--- a/skins/default/mail.css
+++ b/skins/default/mail.css
@@ -782,9 +782,10 @@ div.message-part div.pre
margin: 0px;
padding: 0px;
font-family: monospace;
- white-space: pre;
white-space: -moz-pre-wrap !important;
white-space: -o-pre-wrap !important;
+ white-space: pre-wrap !important;
+ white-space: pre;
word-wrap: break-word; /* IE (and Safari) */
}
diff --git a/skins/default/print.css b/skins/default/print.css
index b3fdebfb4..fa9c38c7e 100644
--- a/skins/default/print.css
+++ b/skins/default/print.css
@@ -107,10 +107,11 @@ div.message-part div.pre
{
margin: 0;
padding: 0;
- white-space: pre;
+ font-family: monospace;
white-space: -o-pre-wrap !important;
white-space: -moz-pre-wrap !important;
- font-family: monospace;
+ white-space: pre-wrap !important;
+ white-space: pre;
word-wrap: break-word; /* IE (and Safari) */
}