我正在尝试将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类传递给Div with Style选项(div class =“webfont”style =“width:620px; padding:0 14px; border:1px solid #dcdcdc; margin:0 auto; font:normal 15px; color:#555 ;“>)
1 回答
大多数Web前端在Outlook 2013中不起作用 . 我相信Times New Roman是唯一获得批准的Web字体 . There's a chart here显示哪些电子邮件客户端接受Web字体 .