这是我现在遇到的问题。我的 HTML 电子邮件的左侧和右侧有这些边距,如 Mac 邮件中所示(在 Gmail 和 Thunderbird 中也可见):http ://cl.ly/image/3j133f393Y3M/Screen%20Shot%202013-06-26 %20at%201.22.04%20AM.png
我的目标是像这样的全角背景:http: //cl.ly/image/1205093I1m34/Screen%20Shot%202013-06-26%20at%201.22.47%20AM.png
根据代码,我的背景宽度似乎已设置为 100%:
<html>
<title>AASU VCU</title>
<body style="margin:0px 0px 0px 0px; padding:0px 0px 0px 0px; font-family: Helvetica, Arial, san-serif; background-color:#fff" bgcolor="#000">
</body>
<table bgcolor="#b2151b" style="color:#fff;font-family:Helvetica,Arial,sans-serif;font-size:16px;line-height:26px;width:100%;margin:0;padding:0">
<table cellpadding="0" cellspacing="0" width="100%" bgcolor="#b2151b" style="padding:0 40px; color:#fff"; font-family="Helvetica,Arial,san-serif"; font-size:"16px"; line-height="25px"; table-layout="fixed">
<tbody>
<tr>
<td bgcolor="#b2151b" width="450" style="color:#fff;font-family:Helvetica,Arial,sans-serif;font-size:16px;line-height:26px">
<br>
<br>
<table cellpadding="0" cellspacing="0" width="450" bgcolor="#b2151b" border="0" rules="none" frame="border" align="center" style="color:#fff; font-family:Helvetica,Arial,sans-serif; font-size:16px;line-height:26px; border-width:0px 0px 0px 0px; background-color:#b2151b" >
<tbody>
<tr>
<td width="450" valign="top" bgcolor="#b2151b" style="color:#a7abb1;font-family:Helvetica,Arial,sans-serif;font-size:16px;line-height:26px">
<a style="border:none!important;color:#ffffff;text-decoration:none;border-bottom:1px solid #666"><img src="http://f.cl.ly/items/3M3W1U0W1o1P1s3u1Q0C/White_transparent.png" alt="AASU VCU" style="border:none"></a>
</td>
</tr>
</tbody>
</table>
我在浏览器中测试了代码,无论我调整多少或更少,背景似乎都能成功拉伸到全宽。我只在邮件客户端中看到这些边距。我错过了什么?