【问题标题】:Having issue in outlook for newsletter时事通讯的前景有问题
【发布时间】:2012-12-14 23:07:52
【问题描述】:
我在 Outlook 中出现额外间距的问题,您可以在附加的图像中看到我以红色突出显示。我在这张图片中使用了 p
此图片的代码
<p style=" width:125; height:125; margin:0px; padding:0px 10px 0px 10px; float:right; line-height:125px; "><img src="http://hmsdesignz.com/newsletter/6of6/images/icon.jpg" alt="" width="125" height="125" hspace="0" vspace="0" border="0" align="right" style="display:block;"/></p>
!
请告诉我如何删除这个多余的间距
【问题讨论】:
标签:
outlook
newsletter
spacing
【解决方案1】:
需要更多代码来查看它如何与周围的 html 交互。
您使用的是<p> 标签,我会避免使用它。图片应单独位于表格单元格中。
类似这样的:
<table width="600" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="500" height="70" bgcolor="#959595">
your sign-off text here
</td>
<td width="100" height="70" bgcolor="#757575">
<img src=""... style="display:block;">
</td>
</tr>
<tr>
<td width="600" height="70" colspan="2" bgcolor="#252525">
footer
</td>
</tr>
</table>