【问题标题】:How to implement Open Sans Web Font in Outlook?如何在 Outlook 中实现 Open Sans Web 字体?
【发布时间】:2016-03-07 19:57:54
【问题描述】:

我正在尝试将 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 Font 类通过 Style 选项传递给 Div ( div class="webfont" style="width: 620px; padding: 0 14px; border: 1px solid #dcdcdc; margin: 0 auto;font: normal 15px ; color: #555;">)

【问题讨论】:

标签: html css asp.net webfonts


【解决方案1】:

大多数 Web 前端在 Outlook 2013 中都不起作用。我相信 Times New Roman 是唯一获得批准的 Web 字体。 There's a chart here 显示哪些电子邮件客户端接受网络字体。

【讨论】:

    猜你喜欢
    • 2016-08-08
    • 1970-01-01
    • 2015-12-19
    • 2013-10-17
    • 1970-01-01
    • 1970-01-01
    • 2017-12-20
    • 1970-01-01
    • 2014-05-19
    相关资源
    最近更新 更多