簡體   English   中英

Html電子郵件在hotmail上沒有顯示保證金,但在Outlook上顯示

[英]Html email doesnt show margin on hotmail but does on outlook

我在Dreamweaver上發了一封html電子郵件,並使用了一些文本邊距。

例如:

  <td width="453" height="115" bgcolor="#18b581"><p style="font-family: Arial, Helvetica,    sans-serif; margin-left: 25px;"><strong><font size="4">Hello world?</font>

這在Dreamweaver中表現得很完美。 當我通過outlook發送它時,我將其保存為outlook模板。 我把它發送到我的Outlook帳戶和我的Hotmail。 利潤率對我的前景起作用,但利潤率對Hotmail不確定,我不知道為什么!

更新:

         <td  colspan="2" bgcolor="#FFFFFF"><h3  style="font-family: Arial, Helvetica, sans-serif; color:#1d95a5; padding-left: 25px; padding-top:30px; ">What are the benefits of the NP-C directory?</h3>
   <p  style="font-family: Arial, Helvetica, sans-serif; color:#555555; font-size:15px; padding-left: 25px; padding-right: 22px;   padding-top:-20px;">The NP-C directory offers you the opportunity to: </p>
   <ul style="font-family: Arial, Helvetica, sans-serif; color:#555555; font-size:15px; padding-left: 80px; padding-right: 51px; padding-top:-12px;">
  <li><strong>Connect</strong> with healthcare professional colleagues in your local                   country/area who have a shared interest in NP-C</li>
  <li><strong>Network</strong> with healthcare professionals around the world to share                 experiences of NP-C</li>
  <li><strong>Exchange</strong> the latest news and information about NP-C</li>
  </ul>

Outlook.com 不支持保證金。 而是在父<td>元素中使用填充。

不要這樣做:

<td>
  <p style="margin-left:25px;">Paragraph</p>
</td>

而是這樣做:

<td style="padding-left:25px;">
  <p>Paragraph</p>
</td>

是的,歡迎來到HTML電子郵件的危害!

查看電子郵件標准項目 ,他們會保留各種瀏覽器之間所有差異的目錄。

最好的建議是盡量避免依賴於填充和邊距,而是使用固定寬度的表格單元來定位元素。

暫無
暫無

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

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