diff options
author | thomascube <thomas@roundcube.net> | 2008-05-27 11:56:35 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2008-05-27 11:56:35 +0000 |
commit | 9734bec37ca2274bb9b6f916ef5bf640e6bd1510 (patch) | |
tree | 7180661b5fb971b26b1344141fc06644d794eefc | |
parent | 05d180a826ed0bf32df82116befe62c0e6128da0 (diff) |
Add link to close message part window
-rw-r--r-- | skins/default/mail.css | 3 | ||||
-rw-r--r-- | skins/default/templates/messagepart.html | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/skins/default/mail.css b/skins/default/mail.css index e3db160c8..db3bc4d74 100644 --- a/skins/default/mail.css +++ b/skins/default/mail.css @@ -213,7 +213,10 @@ td.formlinks a:visited position: absolute; top: 10px; left: 220px; + right: 20px; height: 40px; + /* css hack for IE */ + width: expression((parseInt(document.documentElement.clientWidth)-240)+'px'); } #partheader table td diff --git a/skins/default/templates/messagepart.html b/skins/default/templates/messagepart.html index 9da9d199c..c524b7f23 100644 --- a/skins/default/templates/messagepart.html +++ b/skins/default/templates/messagepart.html @@ -11,6 +11,10 @@ <div id="partheader"> <roundcube:object name="messagePartControls" cellpadding="2" cellspacing="0" /> + +<div style="position:absolute; top:2px; right:0; width:12em; text-align:right"> + [<a href="#close" class="closelink" onclick="self.close()"><roundcube:label name="close" /></a>] +</div> </div> |