如何在Outlook中垂直合并单元格
问题描述:
是否可以垂直合并两个单元格并将文本保留在Outlook 2016中?如何在Outlook中垂直合并单元格
2.Click合并单元
- 文本消失
可替代地,它似乎不可能让这张表在电子邮件中正确显示(在记事本+中) +,选择通过Outlook运行/发送),但是当在浏览器中查看时,它看起来很好。
<html>
<table class="tg" border="1">
<tr>
<th class="tg-yw4l">Type</th>
<th class="tg-yw4l">Power</th>
<th class="tg-yw4l">Torque</th>
</tr>
<tr>
<td class="tg-yw4l" rowspan="2">Car</td>
<td class="tg-yw4l">120hp</td>
<td class="tg-yw4l">100nm</td>
</tr>
<tr>
<td class="tg-yw4l" colspan="2">Has 4 wheels<br></td>
</tr>
</table>
</html>
最后,我了解到Outlook 2007,它使用Word(!)来呈现HTML,而不是Internet Explorer。然而,当用word查看这个html时,会出现标题“Car”,但不在Outlook中。
编辑:我刚刚重新启动,让办公室安装其更新,现在原来的电子邮件和表格合并工作正常。
答
以下是实现此目的的一种方法。删除col跨度和rowspans你需要求助更多的表格,但你可以确定它会在所有设备上呈现相同的结果。
<table class="tg" border="1">
<tr>
<th class="tg-yw4l">Type</th>
<th class="tg-yw4l">
<table border="1">
<tr>
<th>Power</th><th>Torque</th>
</tr>
</table>
</th>
</tr>
<tr>
<td class="tg-yw4l" align="center" valign="middle">
<table class="tg" border="1">
<tr>
<td align="center" valign="middle">Car</td>
</tr>
</table>
</td>
<td>
<table border="1">
<tr>
<td>120hp</td><td>100nm</td>
</tr>
</table>
<table class="tg" border="1">
<tr>
<td class="tg-yw4l">Has 4 wheels<br></td>
</tr>
</table>
</td>
</tr>
</table>
希望这是你所追求的。
干杯
远离rowspan和colspan。正如你在Outlook中发现它的错误。试试这个:https://i.stack.imgur.com/fZcQf.png。红色框显示了表结构应如何适用于所有电子邮件客户端。 – Syfer
谢谢,如何在不使用行跨的情况下实现该结构? –