我正在尝试在 gmail 的电子邮件中使用网络安全字体,例如:'Tahoma'、'Lucida'、'Helvetica',但它无法正常工作,一切都回落到'Arial'。我已经尝试过“内联 css”,但仍然没有成功,但我看到了来自“Apple”使用“Lucida Grande”的邮件......任何帮助将不胜感激
问问题
274 次
1 回答
0
If you declare a font stack using inline CSS, system fonts will display in every version of Gmail (every web browser, every mobile client) provided said font is installed in system. Just like web pages.
<td style="font-family: Tahoma, Lucida, Helvetica, sans-serif;">
Text goes here.
</td>
For best results, place the inline font declaration on the lowest level HTML tag relative to the text.
✖ Not this:
<td style="font-family: Tahoma, Lucida, Helvetica, sans-serif;">
<span style="color: #000000;">
Text goes here.
</span>
</td>
✔ Instead this:
<td>
<span style="color: #000000; font-family: Tahoma, Lucida, Helvetica, sans-serif;">
Text goes here.
</span>
</td>
于 2016-10-09T17:23:18.630 回答