summaryrefslogtreecommitdiff
path: root/skins/default
diff options
context:
space:
mode:
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="" />