18910140161

CSS-Roboto斜体字体在Gmail for HTML时事通讯中不起作用-堆栈溢出

顺晟科技

2022-10-19 14:43:15

221

我在Roboto斜体字体上遇到了一个奇怪的问题,当在Gmail中打开时事通讯时,它不起作用。

为了更好地理解这个问题,我分享了下面的截图:

在上面的截图中,您可以看到字体不适用于斜体文本。我为整个标题设置了font-weight:500,但它不适用于斜体内容。

以下是HTML:

<table role="presentation" class="wrap" width="570" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
     <td align="left" class="hl-2">3. The month <i>October</i> is the best time to visit Jaipur.</td>
  </tr>
</table>

以下是CSS:

<table role="presentation" class="wrap" width="570" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
     <td align="left" class="hl-2">3. The month <i>October</i> is the best time to visit Jaipur.</td>
  </tr>
</table>

知道如何处理这种情况吗?非常感谢您的帮助。

谢谢!


顺晟科技:

  • TAG:
相关文章
我们已经准备好了,你呢?
2024我们与您携手共赢,为您的企业形象保驾护航