繁体   English   中英

如何禁用特定于电子邮件客户端的(gmail,outlook)电子邮件中的自动内容

[英]How to disable Email client specific(gmail,outlook) Automatic content in the email

我添加了以下代码=>

<span style="font-size:12px;"><b>Name:</b></span></font><font size="1"><span style="font-size:12px;"> Pratik</span>

但是在浏览器中它呈现如下(在Outlook中),我不想要。

<span style="font-size:13px;">
<div style="margin-top:14pt;margin-bottom:1em;"><br>

<font size="1"><span style="font-size:12px;"><b>Name:</b></span></font><font size="1"><span style="font-size:12px;"> Pratik</span></font></div>

</span>

也在Gmail中,而不是那里

因此,不必要地浪费了空间。我不希望电子邮件客户端特定的输出,但我只想显示的内容像第一行。

怎么做 ? 谢谢。

据我所知,解决方案是使用表而不是span或div,因为在处理HTML电子邮件时,表是您的朋友。 有一篇文章可能对您有所帮助

Mailchimp维基

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM