Outlook 2010覆盖了从Arial到Times New Roman的字体家族 [英] Outlook 2010 overriding font-family from Arial to Times New Roman

查看:95
本文介绍了Outlook 2010覆盖了从Arial到Times New Roman的字体家族的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在以编程方式发送HTML格式的电子邮件,并将字体始终设置为Arial(font-family: Arial;).当邮件到达Outlook 2010时,table元素中的文本位于Times New Roman中. div元素中的文本在Arial中可以使用.如果我View Source,将其复制到HTML文件中并在浏览器中查看,则所有字体均按预期运行(全部为Arial).

I'm programmatically sending HTML-formatted email, and setting the font as Arial throughout (font-family: Arial;). When the messages arrive in Outlook 2010, text in table elements is in Times New Roman. Text in div elements is fine in Arial. If I View Source, copy into an HTML file, and view in a browser, all fonts function as expected (it's all Arial).

某些Google 结果显示未指定时,Outlook将回退为其默认字体(Times New Roman),但这不是这里发生的情况.

Some Google results show that Outlook will fall back to its default font (Times New Roman) when none is specified, but that's not what's happening here.

为什么Outlook强制我的电子邮件以其他指定方式显示在Times New Roman中?

Why is Outlook forcing my email to display in Times New Roman when specified otherwise?

推荐答案

即使将font-family: arial设置为表,它仍然无法正常工作.您需要为table中的每个td专门设置字体,以使其正确.

Even if you set font-family: arial to table, it still wont work. You need to specifically set the font for each td inside your table to get it right.

这篇关于Outlook 2010覆盖了从Arial到Times New Roman的字体家族的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆