簡體   English   中英

Outlook.com更改HTML電子郵件中的字體系列

[英]Outlook.com changing font family in html email

當我單獨使用帶有h3標簽的行時,將顯示正確的字體。 添加帶有h1標簽的行后,兩種字體均不正確。 有人知道這是怎么回事嗎? 我很茫然。 謝謝。

這是我的代碼:

<h1 style= "color:#000000; font-family:'Gotham-Light','Century Gothic', sans-serif; font-size: 58px; mso-line-  height-rule:exactly; line-height:58px;margin-bottom:0px;padding-bottom:0px; font-weight:normal">How LTCI is Priced
                                                 </h1>

<h3 style="color:#B21F24; font-family: 'Century Gothic', sans-serif; font-size: 32px; font-style: italic; mso-line-height-rule:exactly; line-height: 100%; text-align: left;font-weight:normal">Dynamics of LTCI Pricing
                                                        </h3>

Outlook使用Microsoft Word的html呈現引擎來呈現html,並且僅接受某些字體。 解決此問題的最佳做法是將字體鏈接在一起。

您已經提出了這個問題,但我想我要補充一點理由。 :)

https://litmus.com/blog/outlook-2013-still-powered-by-word-now-available-for-email-testing

我已經找到了答案-希望它可以幫助其他人。 Outlook.com不喜歡“ Gotham-Light”。 我將其刪除后,其他所有功能均按預期工作。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM