[英]How to disable Email client specific(gmail,outlook) Automatic content in the email
I added following code => 我添加了以下代码=>
<span style="font-size:12px;"><b>Name:</b></span></font><font size="1"><span style="font-size:12px;"> Pratik</span>
But in browser it is rendering as follows(in outlook) ,which i dont want. 但是在浏览器中它呈现如下(在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>
Also in Gmail , instead of There is 也在Gmail中,而不是那里
So unnecessarily space is wasted .I dont want the email client specific output ,But only the content i want to show like 1st line. 因此,不必要地浪费了空间。我不希望电子邮件客户端特定的输出,但我只想显示的内容像第一行。
How to do that ? 怎么做 ? Thanks.
谢谢。
As far as I can sense the problem, the solution is to use tables instead of span's or div's because tables are your friend when it comes to HTML emails. 据我所知,解决方案是使用表而不是span或div,因为在处理HTML电子邮件时,表是您的朋友。 There is an article which you may find helpful
有一篇文章可能对您有所帮助
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.