【发布时间】:2017-06-25 21:06:21
【问题描述】:
我正在尝试将 html 电子邮件中相邻表格单元格中包含的不同字体大小的文本底部对齐。
代码:
<tr>
<td>
<table cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td style="font-size: 40px; font-family: Calibri, Arial, Helvetica, sans-serif; color:#35C7E0; font-weight: bold; mso-line-height-rule:exactly; line-height: 40px;" valign="bottom">2.</td>
<td width="15" style="width: 15px; font-size: 18px; line-height: 40px;"> </td>
<td style="font-family: Arial, sans-serif; font-size: 18px; color: #35C7E0; text-align: left; mso-line-height-rule:exactly; line-height: 40px;" valign="bottom">Product Demonstrations</td>
</tr>
</tbody>
</table>
</td>
</tr>
我的问题是第二个单元格(产品演示)中的文本在 Outlook 2010 和 2013 中的第一个单元格中显示低于“2”,但在 Outlook 2011 和 2016 中看起来不错。如何修复它以便所有文本在所有 Outlook 版本中看起来都在底部对齐?
【问题讨论】:
标签: outlook html-table html-email vertical-alignment font-size