gpt4 book ai didi

Outlook.com 中的 HTML 电子邮件签名一致性

转载 作者:太空宇宙 更新时间:2023-11-03 17:39:17 25 4
gpt4 key购买 nike

我在将不同邮件提供商在视觉上保持一致的公司电子邮件签名放在一起时遇到了一些问题。

我已经使用了各种在线指南(列在本邮件末尾),但仍有最后一个问题我似乎无法解决。

在 Outlook.com 中,表格高度似乎延伸得过低,如下面的比较所示(注意红色标记)。

展望 2013:

Outlook Signature

Outlook.com:

Outlook.com Signature

HTML:

<table border="0" cellspacing="0" cellpadding="0" height="118">
<tr>
<td align="left" width="202" height="118" style="padding:0px 10px 0px 0px; margin:0px 0px 0px 0px;line-height:0px; margin-bottom:0px; border-right-color:#005f6b; border-right-width:1px; border-right-style:solid; margin-bottom:0px;"><img src="http://i.imgur.com/ClMZi3M.gif?1" width="202" height="118" alt="My Logo"></td>
<td align="left" style="padding:0px 0px 0px 10px; margin:0px 0px 0px 0px; margin-bottom:0px;" height="118">
<p style="font-family:'Calibri','tahoma','sans-serif'; font-size:13px; line-height:19px; color:#262626; margin:0px 0px 0px 0px; padding:0px;margin-bottom:0px;">
<font style="font-size:15px;"><b>Joe Soap</b> | Senior Developer</font>
<br/>
Telephone: <a href="skype:CompanyName?+27 21 777 7777" style="color:#005f6b; text-decoration: none;">+27 21 777 7777</a>
<br/>
Mobile: <a href="skype:Joe Soap?+27 88 888 8888" style="color:#005f6b; text-decoration: none;">+27 88 888 8888</a>
<br/>
Address: <font style="color:#005f6b">Some Address, 7700, Cape Town, South Africa</font>
<br/>
Website: <a href="#" style="color:#005f6b; text-decoration: none;">www.somecompany.com</a> | <a href="#" style="color:#005f6b; text-decoration: none;">www.anotherdomain.com</a>
<br/>
Email: <a href="mailto:myemailaddress@somecompany.cm" style="color:#005f6b; text-decoration: none;">myemailaddress@somecompany.com</a>
</p>
</td>
</tr>
</table>

有人知道这是什么吗?

最佳答案

您看到的是 Outlook.com 的行高增加“功能”。

你需要做的是把<div class="ExternalClass>开盘后收盘前<body> .

在你的<style>标记,添加 .ecxExternalClass{line-height:100% !important;}

Outlook 在您的 HTML 和样式标签中的所有类前面加上“ecx”。如果您已经拥有 ecx,它会在样式标签中忽略它。

关于Outlook.com 中的 HTML 电子邮件签名一致性,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29368263/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com