我正在尝试将 Open Sans 字体添加到 HTML 电子邮件中,但在 Outlook 2007/2013 中显示的是 Arial 字体。 以下是我的代码:
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,300,700'rel='stylesheet' type='text/css'/>
<style type="text/css">
@media screen{
.webfont {
font-family: 'Open Sans', Arial, sans-serif !important;
}
}
</style>
Web 字体类正在传递给带有样式选项的 Div ( div class="webfont"style="width: 620px; padding: 0 14px; border: 1px solid #dcdcdc; margin: 0 auto;font: normal 15px ; color: #555;">)
最佳答案
大多数 Web 前端在 Outlook 2013 中不起作用。我相信 Times New Roman 是唯一获得批准的 Web 字体。 There's a chart here显示哪些电子邮件客户端接受网络字体。
关于html - 如何在 Outlook 中实现 Open Sans Web 字体?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34062013/