【发布时间】:2013-10-11 03:18:18
【问题描述】:
我正在制作 HTML 时事通讯,但一直遇到这个问题。由于某种原因,顶部的图像忽略了边距并给出了一条难看的白线。
虽然这个网站说电子邮件客户应该接受保证金:http://www.campaignmonitor.com/css/
有谁知道如何解决这个问题?
编辑:新的更简洁的代码,但仍然是同样的问题!我不知道怎么把那该死的东西弄下来。 =/(我的左边框现在也不见了,我也不知道为什么)
<table cellspacing="0" cellpadding="0" width="811px" style="border:0px solid black;border-collapse:collapse">
<tr>
<td width="150px" VALIGN=TOP style="border-bottom: 1px solid #000000;">Nieuwsbrief #<?php echo $nr; ?></td>
<td width="500px" style="vertical-align: bottom;"><img src="http://pietrow.net/newsletter/images/lad_wide.png" style="z-index:-1;"></img></td>
<td width="150px" align="right" style="vertical-align: top; border-bottom: 1px solid #000000;" >Datum: <?php echo $datum; ?></td>
</tr>
<tr style="background: #DBDBDB; border: 1px solid #000000; border-top: 0px" width="811px">
<td width="270px"><center><a href="http://home.strw.leidenuniv.nl/~kaiser/">Website</a></center></td>
<td width="271px"><center><a href="https://www.facebook.com/LADKaiser">Facebook</a></center></td>
<td width="270px"><center><a href="mailto:kaiser@strw.leidenuniv.nl">Contact</a></center></td>
</tr>
<tr style="background: #DBDBDB; border:0px; border-left: 1px solid #000000; border-right: 1px solid #000000;" width="811px">
<td colspan="3" width="811px"><center><a href="#ENTOP">**ENGLISH VERSION BELOW**</a></center></td>
</tr>
<tr >
<td style="background: #DBDBDB; border: 1px solid #000000; border-bottom: 0px;" colspan="3" width="811px">
【问题讨论】:
标签: html css email html-table html-email