【发布时间】:2018-01-29 21:41:55
【问题描述】:
我正在使用表格来伪造我的 HTML 电子邮件中的项目符号列表。除了 Outlook 2010 之外,它在所有客户端中看起来都很棒,它在每行之间添加了额外的空白:
表 cellpadding 和 cellspacing 设置为 0,我尝试在每个表行中显式设置 line-height。
代码:
<table width="100%" style="table-layout: fixed; margin-bottom: 21px; border: none;" cellpadding="0" cellspacing="0">
<tr>
<td width="15" valign="top" style="border-collapse: collapse;">•</td>
<td width="485" valign="top" style="border-collapse: collapse;">Satisfy the PSD2 requirement for Strong Customer Authentication (SCA)</td>
</tr>
<tr>
<td width="15" valign="top" style="border-collapse: collapse;">•</td>
<td width="485" valign="top" style="border-collapse: collapse;">Help you comply with GDPR and minimize the risk of potential penalties</td>
</tr>
<tr>
<td width="15" valign="top" style="border-collapse: collapse;">•</td>
<td width="485" valign="top" style="border-collapse: collapse;">Reduce friction to improve your user experience</td>
</tr>
</table>
【问题讨论】:
标签: html css outlook html-email outlook-2010