Html 为Gmail和my生成电子邮件时,请将其设置为隐藏
我正在为我的公司制作一个电子邮件HTML文档 除了一组要显示的图像外,一切都很好。 在Office上它们看起来很好,但在Gmail上它们是隐藏的,当我在inspector中查看HTML时,我看到style=display:none!重要的可见性:隐藏!重要的不透明度:0!重要的背景位置:300px 32px;已添加到图像中 有人知道这是为什么吗?我怎样才能阻止它Html 为Gmail和my生成电子邮件时,请将其设置为隐藏,html,css,email,gmail,inline,Html,Css,Email,Gmail,Inline,我正在为我的公司制作一个电子邮件HTML文档 除了一组要显示的图像外,一切都很好。 在Office上它们看起来很好,但在Gmail上它们是隐藏的,当我在inspector中查看HTML时,我看到style=display:none!重要的可见性:隐藏!重要的不透明度:0!重要的背景位置:300px 32px;已添加到图像中 有人知道这是为什么吗?我怎样才能阻止它 <table width="100%" cellspacing="0" cellpadding="0" border="0" b
<table width="100%" cellspacing="0" cellpadding="0" border="0" bgcolor="#ffffff">
<tr>
<td width="100%">
<table width="100%" cellspacing="0" cellpadding="0" border="0" style="border: 1px solid #45b75c;">
<tr style="border: 1px solid #45b75c">
<td align="center" width="155" height="155" style="background-color: #f3f1f1;">
<img src="https://www.soccerhubb.com/assets/img/emails/world-cup/advert1.png" width="115" height="115" alt="Advertise to your target audience" line-height="" style="display: block;"/>
</td>
<td align="center">
<p style="text-align: center; font-size: 24px; color: #45b75c;">
Advertise to your target audience<br />
with intelligent analytics
</p>
</td>
</tr>
</table>
</td>
</tr>
<table>
使用样式标记并将样式应用于显示:块!重要的
在css中!用于覆盖所有样式的重要关键字别管我发现了这个问题 由于我的图片被称为广告1,垃圾邮件过滤器捕捉到它,并假设同一表格中的其他内容也是垃圾邮件 自我提示:不要在alt标签或图像名称中使用广告