在简报的前景中有问题

时间:2012-12-13 22:18:05

标签: outlook newsletter spacing

我在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>

enter image description here

请建议我如何删除这个额外的间距

1 个答案:

答案 0 :(得分:0)

需要更多代码才能看到它是如何与周围的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> 
相关问题