我有一个非常简单的 HTML 电子邮件模板 - 仅用于测试 - 它有 5 个包含一个单词的列,问题是在 Outlook 2013 中,第一列总是垂直未对齐。这是HTML。
<!DOCTYPE html>
<html><body>
<table width="95%" cellpadding="0" cellspacing="0" border="0" id="wrapper_table" style="border-collapse: collapse; border-spacing: 0; vertical-align: top; height: 100%; width: 100%;"><tbody><tr><td style="font-weight: normal; text-align: left; vertical-align: top;">
<table width="600" cellpadding="0" cellspacing="0" border="0" id="content_1" style="border-collapse: collapse; border-spacing: 0; vertical-align: top;"><tr><td style="font-weight: normal; text-align: left; vertical-align: top;">
<table width="100%" cellpadding="0" cellspacing="0" border="0" id="test" style="border-collapse: collapse; border-spacing: 0; vertical-align: top;"><tr><td style="font-weight: normal; text-align: left; vertical-align: top; border: 1px solid black;">
Row
</td>
<td style="font-weight: normal; text-align: left; vertical-align: top; border: 1px solid black;">
Row
</td>
<td style="font-weight: normal; text-align: left; vertical-align: top; border: 1px solid black;">
Row
</td>
<td style="font-weight: normal; text-align: left; vertical-align: top; border: 1px solid black;">
Row
</td>
<td style="font-weight: normal; text-align: left; vertical-align: top; border: 1px solid black;">
Row
</td>
</tr></table></td>
</tr></table></td>
</tr></tbody></table></body></html>
Outlook 2013 中的结果是:
这是 Outlook 输出的代码
<!DOCTYPE html><br />
<html><body> <br />
<table width="95%" cellpadding="0" cellspacing="0" border="0" id="wrapper_table" style="border-collapse: collapse; border-spacing: 0; vertical-align: top; height: 100%; width: 100%;"><tbody><tr><td style="font-weight: normal; text-align: left; vertical-align: top;"><br />
<table width="600" cellpadding="0" cellspacing="0" border="0" id="content_1" style="border-collapse: collapse; border-spacing: 0; vertical-align: top;"><tr><td style="font-weight: normal; text-align: left; vertical-align: top;"><br />
<table width="100%" cellpadding="0" cellspacing="0" border="0" id="test" style="border-collapse: collapse; border-spacing: 0; vertical-align: top;"><tr><td style="font-weight: normal; text-align: left; vertical-align: top; border: 1px solid black;"><br />
Row<br />
</td><br />
<td style="font-weight: normal; text-align: left; vertical-align: top; border: 1px solid black;"><br />
Row<br />
</td><br />
<td style="font-weight: normal; text-align: left; vertical-align: top; border: 1px solid black;"><br />
Row<br />
</td><br />
<td style="font-weight: normal; text-align: left; vertical-align: top; border: 1px solid black;"><br />
Row<br />
</td><br />
<td style="font-weight: normal; text-align: left; vertical-align: top; border: 1px solid black;"><br />
Row<br />
</td><br />
</tr></table></td><br />
</tr></table></td><br />
</tr></tbody></table></body></html><br />
该问题与 Outlook 添加的所有额外 BR 标签有关,但我能做些什么呢?
谢谢!