【发布时间】:2012-11-24 04:07:14
【问题描述】:
我尝试使用 oscommerce 平台发送简单的时事通讯,内容是带有少量图像的简单表格。在我发送预览之前看起来不错(没有cellspacing 或cellpadding)
预览:
但在我收到并使用 gmail 打开后:
你可以看到表是不同的;我的意思是白色边框。
这是为时事通讯生成表格和内容的代码。
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td><img alt="" src="http://www.sfbeautyskin.com/uploads/image/Newsletter/Newsletter.jpg" style="width: 950px; height: 1187px;" /></td>
</tr>
<tr>
<td><a href="http://www.sfbeautyskin.com/images//banners/Promotion_Dec_Xmas.jpg"><img alt="" src="http://www.sfbeautyskin.com/uploads/image/Newsletter2.jpg" style="width: 950px; height: 114px;" /></a></td>
</tr>
<tr>
<td><a href="http://www.sfbeautyskin.com/index.php"><img alt="" src="http://www.sfbeautyskin.com/uploads/image/Newsletter3.jpg" style="width: 950px; height: 158px;" /></a></td>
</tr>
<tr>
<td><a href="http://www.sfbeautyskin.com/contact_us.php"><img alt="" src="http://www.sfbeautyskin.com/uploads/image/Newsletter4.jpg" style="width: 950px; height: 440px;" /></a></td>
</tr>
</tbody>
</table>
问题是如何彻底去除边框属性。
【问题讨论】:
-
如果你在 google 上搜索关键字,有很多教程建议
display:block-- "gmail 图片间距问题"
标签: css html-table html-email