【发布时间】:2014-02-23 09:34:11
【问题描述】:
我已经尝试了几件事,包括包装 css。关于如何让 html 电子邮件 Outlook 2010 使用网络字体而不是默认预装字体的任何想法?
这是我尝试过的一些东西:
<style type="text/css">
@font-face {
font-family: 'thegirlnextdoor';
src: url('http://www.mercerhrs.com/email/nordstrom/274257/font/thegirlnextdoor.eot'); /* IE9 Compat Modes */
src: url('http://www.mercerhrs.com/email/nordstrom/274257/font/thegirlnextdoor.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('http://www.mercerhrs.com/email/nordstrom/274257/font/thegirlnextdoor.woff') format('woff'), /* Modern Browsers */
url('http://www.mercerhrs.com/email/nordstrom/274257/font/thegirlnextdoor.ttf') format('truetype'), /* Safari, Android, iOS */
url('http://www.mercerhrs.com/email/nordstrom/274257/font/thegirlnextdoor.svg') format('svg'); /* Legacy iOS */
}
</style>
【问题讨论】:
-
你告诉
font-family在哪里使用?你确定它没有被覆盖吗? -
我猜它被覆盖了。它只是使用系统中的任何字体,我相信它默认为 Times New Roman。