HTML表格无法在Outlook中正确显示

时间:2018-02-19 16:34:38

标签: html outlook

我在Outlook电子邮件中创建HTML表格,使其看起来像这样的模板示例, enter image description here

然而,我创建的那个不应该像它应该的那样匹配。有3个问题,

  • 右上角的第一个管理信息技术是向下移动,而不是假设与上面的示例模板一样的黑盒子徽标。
  • 其次, ServiceNow - 发行说明在左侧而非中心对齐,即使align="center"中已有<td>
  • 第三,位于橙色横幅下方的黑色边框线消失但是片段代码和前景预览显示但实际前景不是。

这是2张不正确的展示图片,

enter image description here enter image description here

<table style="height: 643px;" width="772" cellspacing="0" cellpadding="0">
<tbody>
<tr style="border-style: none none solid none;">
<td colspan="2"><span style="font-family: 'times new roman', times;"><img id="logo" style="float: left;" title="" src="toolbar-logo.png" alt="" width="127" height="44" /></span></td>
<td colspan="2">
<p style="text-align: right;"><font face="calibri, times"><span style="font-size: 18.6667px;"><font color="red"><strong>Manage Information Technology</strong></font></span></font></p>
</td>
</tr>
<tr style="border-style: none none solid none;">
<td colspan="4" align="center"><font size="7" face="calibri"><strong>ServiceNow - Release Notes</strong></font></td>
</tr>
<tr style="border-style: none none solid none;">
<td colspan="4" align="center"><img id="dss-banner" src="DSSbanner.png" alt="" width="100%" height="161" /></td>
</tr>
<tr>
<td style="background: none; border-bottom: 4px solid #000000; height: 2px; width: 100%; margin: 0px 0px 0px 0px;" colspan="4"><span style="font-family: 'times new roman', times;">&nbsp;</span></td>
</tr>
<tr>
<td colspan="4"><span style="font-size: 12pt; font-family: 'calibri', times;">Team,</span></td>
</tr>
<tr>
<td colspan="4"><span style="font-family: 'calibri', times;"><span style="font-size: 12pt;">The following capabilities and improvements have successfully been promoted to the production ServiceNow instance through "${short_description}" on ${mail_script:release.stories.email.date}.<br />The release notes have also been added in the <a href="/kb_view.do?sysparm_article=KB0011175">Release Notes Knowledge Article</a> per standard process.</span></span></td>
</tr>
<tr>
<td>${mail_script:release.stories.email}</td>
</tr>
<tr>
<td colspan="4"><span style="font-size: 12pt; font-family: 'calibri', times;">Thank you,<br />Service Management</span></td>
</tr>
</tbody>
</table>

有人可以指出哪里可能的原因不正确吗?

0 个答案:

没有答案