【发布时间】:2017-10-12 21:17:43
【问题描述】:
我想用font-family: helvetica neue; font-weight: 100; 制作一个标题,它在网络版本上看起来很棒,但在大多数电子邮件客户端中出现font-weight: normal;。
我正在 Hubspot 内工作以发送这些电子邮件。
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td class="headlineOne" style="color: #000000; font-family: helvetica
neue,
helvetica, arial, sans-serif; font-weight: 100; font-size: 44px; text-
align: left; line-height: 44px;">It's never too early</td>
</tr>
<tr>
<td class="headlineTwo body-text" style="line-height: 41px; margin-top:
0; font-size: 41px; text-align: right; font-weight: 200; padding-
right: 99px; font-family: helvetica neue, helvetica, arial, sans-
serif; color: #4a4646; padding-bottom: 0px;">to start saving</td>
</tr>
</tbody>
</table>
【问题讨论】:
-
可靠地定义,记住所有浏览器和用户代理都根据 W3C 规范将 CSS 和 HTML 显示为他们自己的解释。测试所有可能的用户代理是不可能的。
标签: html email fonts font-family