From bf1be0c931904e45122cf8eeec3bf20cc6e91bd5 Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Fri, 21 Mar 2008 10:09:20 -0400
Subject: [PATCH] Fixed message part window display in IE6 (#1484610)

---
 skins/default/mail.css |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/skins/default/mail.css b/skins/default/mail.css
index aa3f643..69762b6 100644
--- a/skins/default/mail.css
+++ b/skins/default/mail.css
@@ -153,6 +153,9 @@
   left: 20px;
   right: 20px;
   bottom: 20px;
+  /* css hack for IE */
+  width: expression((parseInt(document.documentElement.clientWidth)-40)+'px');
+  height: expression((parseInt(document.documentElement.clientHeight)-100)+'px');
 }
 
 #mailcontframe
@@ -202,8 +205,6 @@
   height: 100%;
   border: 1px solid #999999;
   background-color: #F9F9F9;
-  /* css hack for IE */
-  height: expression(parseInt(document.getElementById('messagepartcontainer').offsetHeight)+'px');
 }
 
 

--
Gitblit v1.9.1