我正在处理产品电子邮件,它在 gmail 中看起来很糟糕。
我的代码:
<tr id="PART1">
<td align="left">
<table class="deviceWidth">
<tr>
<td colspan="2" align="left">
<img src="logo.gif" style="display:block" border="0"/>
</td>
<td id="TdIwantToHide" class="displayAction">Lorem ipsum</td>
</tr>
</table>
</td>
</tr>
<tr id="PART2" class="deviceBlock">
<td>
<table class="deviceWidth">
<tr>
<td>Lorem ipsum</td>
</tr>
</table>
</td>
</tr>
CSS: .displayAction { display:block!important; } .deviceBlock { 显示:无!重要;}
我还测试了移除显示器并将其更改为
line-height:0px;
font-size:0px;
height:0px;
margin:0;
padding:0;
因为我在一些网站上看到了这个修复,人们说让它工作但它不起作用。我可以看到两者
有人知道怎么做吗?