summaryrefslogtreecommitdiff
path: root/skins/default
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2008-12-07 11:03:38 +0000
committeralecpl <alec@alec.pl>2008-12-07 11:03:38 +0000
commite2dd81f8dd7ae6b864b376a6f8c34c8fd33d4b95 (patch)
treeaaae982cd8a2711f4609239031e6c94f8faa289f /skins/default
parent55cd3743ba008be84ac4b37797ae70f4f1a9b880 (diff)
- Fix horizontal scrollbar in preview pane on IE (#1484633)
Diffstat (limited to 'skins/default')
-rw-r--r--skins/default/mail.css6
-rw-r--r--skins/default/templates/message.html4
-rw-r--r--skins/default/watermark.html2
3 files changed, 9 insertions, 3 deletions
diff --git a/skins/default/mail.css b/skins/default/mail.css
index 07f039293..a3df8ebaf 100644
--- a/skins/default/mail.css
+++ b/skins/default/mail.css
@@ -671,6 +671,12 @@ html>body*input[type$="file"]:not([class="none"]) { background-color: transparen
height: expression((parseInt(this.parentNode.offsetHeight))+'px');
}
+#messagecanvas
+{
+ /* css hack for IE */
+ width: expression((parseInt(this.parentNode.offsetWidth)-20)+'px');
+}
+
#printmessageframe
{
position: absolute;
diff --git a/skins/default/templates/message.html b/skins/default/templates/message.html
index 0cbd05fe6..b8d66c1be 100644
--- a/skins/default/templates/message.html
+++ b/skins/default/templates/message.html
@@ -46,13 +46,13 @@
</div>
<div id="messageframe">
-
+<div id="messagecanvas">
<roundcube:object name="messageHeaders" class="headers-table" cellspacing="0" cellpadding="2" addicon="/images/icons/plus.gif" summary="Message headers" />
<roundcube:object name="messageAttachments" id="attachment-list" />
<roundcube:object name="blockedObjects" id="remote-objects-message" />
<roundcube:object name="messageBody" id="messagebody" />
-
+</div>
</div>
</div>
diff --git a/skins/default/watermark.html b/skins/default/watermark.html
index 6202b8f83..7ce055ee2 100644
--- a/skins/default/watermark.html
+++ b/skins/default/watermark.html
@@ -3,7 +3,7 @@
<head>
<title></title>
</head>
-<body style="background-color:#F2F2F2;">
+<body style="background-color:#F2F2F2; width: expression((parseInt(document.documentElement.clientWidth)-20)+'px');">
<div style="margin:10px auto; text-align:center">
<img src="images/rcube_watermark.png" width="245" height="245" alt="" />