summaryrefslogtreecommitdiff
path: root/skins/default/templates/message.html
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2009-06-03 06:47:58 +0000
committeralecpl <alec@alec.pl>2009-06-03 06:47:58 +0000
commita0a4288128c21b155cc23d6122c2e11820b9b645 (patch)
treef511f21b5337df252979978b06757ca7ba7ea60c /skins/default/templates/message.html
parent80a36b53ad819e239ec2a8b02c390121b484ee27 (diff)
- use 'browser' expression to hide IE-specific inline styles
Diffstat (limited to 'skins/default/templates/message.html')
-rw-r--r--skins/default/templates/message.html5
1 files changed, 2 insertions, 3 deletions
diff --git a/skins/default/templates/message.html b/skins/default/templates/message.html
index 24fe76bf2..c53e7d51d 100644
--- a/skins/default/templates/message.html
+++ b/skins/default/templates/message.html
@@ -7,9 +7,8 @@
<script type="text/javascript" src="/functions.js"></script>
<style type="text/css">
#mailboxlist-container { width: <roundcube:exp expression="!empty(cookie:mailviewsplitterv) ? cookie:mailviewsplitterv-5 : 160" />px; }
-#messageframe {
- left: <roundcube:exp expression="!empty(cookie:mailviewsplitterv) ? cookie:mailviewsplitterv+5 : 170" />px;
- width: expression((parseInt(this.parentNode.offsetWidth)-<roundcube:exp expression="!empty(cookie:mailviewsplitterv) ? cookie:mailviewsplitterv+5 : 170" />)+'px');
+#messageframe { left: <roundcube:exp expression="!empty(cookie:mailviewsplitterv) ? cookie:mailviewsplitterv+5 : 170" />px;
+<roundcube:exp expression="browser:ie ? ('width: expression((parseInt(this.parentNode.offsetWidth)-'.(!empty(cookie:mailviewsplitterv) ? cookie:mailviewsplitterv+5 : 170).')+\\'px\\');') : ''" />
}
</style>
</head>