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

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

问题描述

我正在以编程方式发送 HTML 格式的电子邮件,并将字体设置为 Arial(font-family: Arial;).当邮件到达 Outlook 2010 时,table 元素中的文本采用 Times New Roman.div 元素中的文本在 Arial 中很好.如果我查看源代码,复制到一个 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,它仍然不起作用.您需要为 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天全站免登陆