【发布时间】:2017-06-27 02:19:59
【问题描述】:
我正在尝试为电子邮件模板设置一个表格,顶部的图像占据整个宽度(600 像素),然后是两列从中间分开的图像。但由于某种原因,右列将表格宽度推得太右了。
JS 小提琴:http://jsfiddle.net/5QEhK/1/
<table width="600" style="border: 1px solid #b8b7b7;margin-bottom: 10px;">
<!--Main Image-->
<tr align="center" valign="center" width="580px">
<td align="center" valign="center" width="580px">
<img border="0" style="padding: 0;margin: 0;" src="http://homeplan.com/newsletter/October/10:29%20Newsletter/img/eye_on_design.png" width="570px">
</td>
</tr>
<!--Two Columns-->
<tr>
<td valign="top" width="260" class="leftColumnContent">
<table border="0" cellpadding="15" cellspacing="0" width="100%">
<tr>
<td valign="top">
<img style="width: 260px;" src="http://homeplan.com/newsletter/October/10:29%20Newsletter/img/top_left.png" mc:label="image"/></a>
</div>
</td>
</tr>
</table>
</td>
<td valign="top" width="260" class="rightColumnContent">
<table border="0" cellpadding="15" cellspacing="0" width="100%">
<tr>
<td valign="top">
<img style="width: 260px;" src="http://homeplan.com/newsletter/October/10:29%20Newsletter/img/top_right.png" mc:label="image" mc:edit="tiwc300_image01" /></a>
</td>
</tr>
</table>
</td>
</tr>
</table>
【问题讨论】:
标签: html-table html-email