我在 Outlook 2013 中正确隐藏图像时遇到问题,即使它们被隐藏,它们也会在它们被隐藏的地方添加一行间距,使电子邮件看起来被拉伸。这是我想从桌面版本中隐藏的图像上的代码。
<tr style="display: none; line-height: 0; font-size: 0; height: 0; padding: 0; mso-hide: all;">
<td width="20" style="display: none; line-height: 0; font-size: 0; height: 0; padding: 0; mso-hide: all;" class="spacer-width">
<img class="spacer-width" src="spacer.gif" height="0" width="0" style="display: none; line-height: 0; font-size: 0; height: 0; padding: 0; mso-hide: all;" alt="" />
</td>
<td width="560" style="display: none; line-height: 0; font-size: 0; height: 0; padding: 0; mso-hide: all;" class="secondary-fullwidth">
<img src="btn-8.gif" height="0" width="0" style="display: none; line-height: 0; font-size: 0; height: 0; padding: 0; mso-hide: all;" class="btn-two" alt="Request A Test Drive" />
</td>
<td width="20" style="display: none; line-height: 0; font-size: 0; height: 0; padding: 0; mso-hide: all;" class="spacer-width">
<img class="spacer-width" src="spacer.gif" height="0" width="0" style="display: none; line-height: 0; font-size: 0; height: 0; padding: 0; mso-hide: all;" alt="" />
</td>
</tr>
谢谢你的帮助