diff options
author | alecpl <alec@alec.pl> | 2010-06-09 19:44:34 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2010-06-09 19:44:34 +0000 |
commit | 4345643550ca83a629e26c5c5a082d7b94691b73 (patch) | |
tree | c5a988bcdd9c30990e3569c689820f2999cf314b | |
parent | d0b981757ab416dfd182e6b91e7f9a66132116f9 (diff) |
- IE6/7 fixes
-rw-r--r-- | skins/default/ie6hacks.css | 12 | ||||
-rw-r--r-- | skins/default/iehacks.css | 38 |
2 files changed, 18 insertions, 32 deletions
diff --git a/skins/default/ie6hacks.css b/skins/default/ie6hacks.css index c59bf6543..5b42f1cfb 100644 --- a/skins/default/ie6hacks.css +++ b/skins/default/ie6hacks.css @@ -73,9 +73,19 @@ ul.toolbarmenu li.separator_below padding-bottom: 3px; } -.boxfooter, +.boxfooter +{ + width: 100%; +} + .boxtitle, #directorylist li a { + width: auto; +} + +.boxlistcontent +{ + height: expression((parseInt(this.parentNode.offsetHeight)-42)+'px'); width: 100%; } diff --git a/skins/default/iehacks.css b/skins/default/iehacks.css index 6888094c7..554fa2672 100644 --- a/skins/default/iehacks.css +++ b/skins/default/iehacks.css @@ -1,4 +1,3 @@ -/* CSS hacks for IE versions <= 8 */ input, textarea { @@ -84,19 +83,12 @@ input, textarea height: expression((parseInt(document.documentElement.clientHeight)-125)+'px'); } -#directorylistwrap -{ - height: expression((parseInt(document.getElementById('directorylistbox').offsetHeight)-42)+'px'); -} - #addresslist, #sectionslist, -#identities-list -{ - height: expression(parseInt(this.parentNode.offsetHeight)+'px'); -} - -#mailleftcontainer +#identities-list, +#mailleftcontainer, +#mailcontframe, +#identity-details { height: expression(parseInt(this.parentNode.offsetHeight)+'px'); } @@ -107,25 +99,16 @@ input, textarea height: expression(parseInt(this.parentNode.offsetHeight)+'px'); } -#mailrightcontent -{ - width: 100%; -} - #messagepartcontainer { width: expression((parseInt(document.documentElement.clientWidth)-40)+'px'); height: expression((parseInt(document.documentElement.clientHeight)-100)+'px'); } -#mailcontframe -{ - height: expression(parseInt(this.parentNode.offsetHeight)+'px'); -} - #mailrightcontent { height: expression((parseInt(this.parentNode.offsetHeight)-20)+'px'); + width: 100%; } #partheader @@ -217,7 +200,8 @@ div.message-part div.pre #importbox { - height: expression((parseInt(document.documentElement.clientHeight)-135)+'px'); + width: expression((parseInt(document.documentElement.clientWidth)-40)+'px'); + height: expression((parseInt(document.documentElement.clientHeight)-145)+'px'); } #contacts-table @@ -232,12 +216,6 @@ div.message-part div.pre width: expression((parseInt(this.parentNode.offsetWidth)-555)+'px'); } -#identity-details -{ - width: expression((parseInt(document.documentElement.clientWidth)-470)+'px'); - height: expression((parseInt(document.documentElement.clientHeight)-155)+'px'); -} - #rcmdraglayer { filter: alpha(opacity=82); @@ -286,5 +264,3 @@ table.records-table thead tr td margin: 0 4px; padding: 0.8em; } - - |