【发布时间】:2011-04-13 09:23:17
【问题描述】:
我正在编写 html 时事通讯并在 gmail 中遇到了奇怪的事情。代码:
<table cellpadding="0" cellspacing="0" width="700" height="122">
<tr>
<td valign="top" colspan="3" width="689" height="8"><img src="http://www.url.com/img/product_top_border.gif"></td>
</tr>
<tr>
<td valign="top" width="12" height="106"><img src="http://www.url.com/img/product_left_border.gif"></td>
<td valign="top" height="106" width="689">
some content
</td>
<td valign="top" width="12" height="106"><img src="http://www.url.com/img/product_right_border.gif"></td>
</tr>
<tr>
<td valign="top" colspan="3" width="689" height="8"><img src="http://www.url.com/img/product_bot_border.gif"></td>
</tr>
</table>
Gmail 截图:
来自其他电子邮件客户端的屏幕截图:
有什么提示吗?
您的帮助将不胜感激。
【问题讨论】:
-
这些截图看起来很像,你在找什么?
-
你看的是字体差异还是折线图?这两张截图是用同一个浏览器截的吗?
-
中断可能来自白色/透明边框(也可以尝试border=0)。有时它们也会因为
</tr>和下一个<tr>之间的换行符而呈现,尝试组合成</tr><tr>(之间没有空格)。通常,这些细微差别来自不同的浏览器。
标签: html gmail newsletter