aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-format.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-format.c')
-rw-r--r--mail/mail-format.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/mail/mail-format.c b/mail/mail-format.c
index faea36f633..8f6d4d5d61 100644
--- a/mail/mail-format.c
+++ b/mail/mail-format.c
@@ -494,7 +494,9 @@ attachment_header (CamelMimePart *part, const char *mime_type,
return;
/* Start the table, create the pop-up object. */
- mail_html_write (md->html, md->stream, "<table><tr><td>"
+ mail_html_write (md->html, md->stream, "<table bgcolor=\"#EEEEEE\" width=\"100%%\" "
+ "cellspacing=0 border=1>"
+ "<tr><td><table><tr valign=top><td>"
"<object classid=\"popup:%s\" type=\"%s\">"
"</object></td><td><font size=-1>",
get_cid (part, md), mime_type);
@@ -529,7 +531,7 @@ attachment_header (CamelMimePart *part, const char *mime_type,
}
#endif
- mail_html_write (md->html, md->stream, "</font></td></tr></table>");
+ mail_html_write (md->html, md->stream, "</font></td></tr></table></td></tr></table>");
}
static gboolean