From 7f43e18fde11cf30a8b8fbe71ab5e2a0dba823f8 Mon Sep 17 00:00:00 2001 From: alecpl Date: Fri, 5 Dec 2008 07:19:35 +0000 Subject: #1485605: some css fixes for IE6 --- skins/default/common.css | 3 +++ skins/default/mail.css | 11 ++++++++--- skins/default/settings.css | 6 +++--- 3 files changed, 14 insertions(+), 6 deletions(-) (limited to 'skins') diff --git a/skins/default/common.css b/skins/default/common.css index 2ba57f55f..12cc2713b 100644 --- a/skins/default/common.css +++ b/skins/default/common.css @@ -73,6 +73,9 @@ input, textarea color: #333333; background-color: #ffffff; border: 1px solid #666666; + /* css hack for IE */ + background-color: expression(this.type=="checkbox" || this.type=="radio"? 'transparent' : '#ffffff'); + border-width: expression(this.type=="checkbox" || this.type=="radio"? '0' : '1px'); } input[type="checkbox"], diff --git a/skins/default/mail.css b/skins/default/mail.css index 5189f6d3f..2f98c8b81 100644 --- a/skins/default/mail.css +++ b/skins/default/mail.css @@ -678,7 +678,6 @@ html>body*input[type$="file"]:not([class="none"]) { background-color: transparen div.messageheaderbox { - position: relative; margin: 6px 8px 0px 8px; border: 1px solid #ccc; } @@ -837,6 +836,12 @@ div.message-part blockquote blockquote blockquote border-right: 2px solid #bb0000; } +body.iframe +{ + /* css hack for IE */ + width: expression((parseInt(document.documentElement.clientWidth))+'px'); +} + body.iframe div.message-htmlpart { margin: 8px; @@ -869,8 +874,8 @@ div.message-htmlpart div.rcmBody #messageviewlink { position: absolute; - top: 1px; - right: 1px; + top: 8px; + right: 10px; width: 15px; height: 15px; border: 0; diff --git a/skins/default/settings.css b/skins/default/settings.css index ccaa05659..1e99c3bfb 100644 --- a/skins/default/settings.css +++ b/skins/default/settings.css @@ -55,7 +55,7 @@ span.tablink-selected a border: 1px solid #999999; /* css hack for IE */ height: expression((parseInt(document.documentElement.clientHeight)-155)+'px'); - width: expression((parseInt(document.documentElement.clientwidth)-40)+'px'); + width: expression((parseInt(document.documentElement.clientWidth)-40)+'px'); } #userprefs-box fieldset @@ -108,7 +108,7 @@ span.tablink-selected a width: 420px; border: 1px solid #999999; /* css hack for IE */ - height: expression((parseInt(document.documentElement.clientHeight)-160)+'px'); + height: expression((parseInt(document.documentElement.clientHeight)-155)+'px'); } #listbuttons @@ -160,7 +160,7 @@ span.tablink-selected a overflow: auto; /* css hack for IE */ width: expression((parseInt(document.documentElement.clientWidth)-470)+'px'); - height: expression((parseInt(document.documentElement.clientHeight)-160)+'px'); + height: expression((parseInt(document.documentElement.clientHeight)-155)+'px'); } #identity-details table td.title -- cgit v1.2.3