summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--skins/default/mail.css15
-rw-r--r--skins/default/templates/printmessage.html2
2 files changed, 16 insertions, 1 deletions
diff --git a/skins/default/mail.css b/skins/default/mail.css
index 79f0d4d3a..ca034bd69 100644
--- a/skins/default/mail.css
+++ b/skins/default/mail.css
@@ -620,6 +620,21 @@ html>body*input[type$="file"]:not([class="none"]) { background-color: transparen
{
position: absolute;
top: 0px;
+ left: 170px;
+ right: 0px;
+ bottom: 0px;
+ border: 1px solid #999;
+ background-color: #FFF;
+ overflow: auto;
+ /* css hack for IE */
+ width: expression((parseInt(document.documentElement.clientWidth)-220)+'px');
+ height: expression((parseInt(document.documentElement.clientHeight)-125)+'px');
+}
+
+#printmessageframe
+{
+ position: absolute;
+ top: 0px;
left: 0px;
right: 0px;
bottom: 0px;
diff --git a/skins/default/templates/printmessage.html b/skins/default/templates/printmessage.html
index eecff69fb..17ea7bf5a 100644
--- a/skins/default/templates/printmessage.html
+++ b/skins/default/templates/printmessage.html
@@ -8,7 +8,7 @@
<div id="header"><img src="/images/roundcube_logo_print.gif" alt="<roundcube:object name="productname" />" /></div>
-<div id="messageframe">
+<div id="printmessageframe">
<roundcube:object name="messageHeaders" class="headers-table" cellspacing="0" cellpadding="2" />
<roundcube:object name="messageAttachments" id="attachment-list" />
<roundcube:object name="messageBody" id="messagebody" showImages="false" />