【发布时间】:2016-07-27 06:50:43
【问题描述】:
当我在 Outlook 中打开以下邮件时(另存为email.eml,Outlook 可以打开),字体太大。由于<span style="height:40px;">...</span>,Outlook 建议在浏览器中打开电子邮件。如果我这样做,将使用正确的字体大小。 Outlook 中的缩放设置当然设置为 100%。如何让 Outlook 显示正确的字体大小?我将发送一份时事通讯,并且不希望每个使用 Outlook 的人都看到太大的字体。
Date: Wed, 6 Apr 2016 19:25:19 +0200
From: test@test.com
Message-ID: <e43845aa69c33b79a282f80ed658959d@www.test.com>
X-Mailer: PHPMailer 5.2.14 (https://github.com/PHPMailer/PHPMailer)
MIME-Version: 1.0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit
To: test@test.com
Subject: Font size test
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><head><title>Font size test</title><meta http-equiv="Content-type" content="text/html; charset=UTF-8"></head><body><h1 style="font: 20px Arial">Heading 1</h1>
<p style="font-size: 15px; font-family: Georgia">The font size is too large in Outlook!</p>
<span style="font: 10px 'Times New Roman'; height:40px;">This is a span with height, to make Outlook suggest opening the email in a browser.</span> </body></html>
【问题讨论】:
标签: html css email fonts outlook