MS Outlook表格填充太大
以下是它在outlook中的外观: 但它应该是这样的: 代码如下:MS Outlook表格填充太大,outlook,html-table,html-email,padding,Outlook,Html Table,Html Email,Padding,以下是它在outlook中的外观: 但它应该是这样的: 代码如下: <table style="border-bottom: solid 1px #e5e0d8; background-color: #0f0;" class="content_module" width="600" border="0" cellpadding="15" cellspacing="0"> <tr> <td> <ta
<table style="border-bottom: solid 1px #e5e0d8; background-color: #0f0;" class="content_module" width="600" border="0" cellpadding="15" cellspacing="0">
<tr>
<td>
<table style="background-color: #f0f;" class="content_col" width="285" border="0" cellspacing="0" cellpadding="15" align="left">
<tr>
<td style="font-family: Arial, Helvetica, sans-serif; font-size: 13px; background-color: #f00;">
<!-- img -->
</td>
</tr>
</table>
<table style="background-color: #00f;" class="content_col" width="285" border="0" cellspacing="0" cellpadding="15" align="right">
<tr>
<td style="font-family: Arial, Helvetica, sans-serif; font-size: 13px; background-color: #00f;">
<!-- text -->
</td>
</tr>
</table>
</td>
</tr>
</table>
看起来outlook添加了3倍左右的填充。。。看到有人出错了吗?如果问题是空格,我已经试过了,但事实并非如此。您必须创建一个这样的表
<table width="480" align="left" cellspacing="0" cellpadding="0">
<tr>
<td width="30" style="border:2px solid black;">
Some Text
</td>
<td width="110" style="border:2px solid black;">
Some Text
</td>
</tr>
</table>
一些文本
一些文本
问题是mso表空间
我完全删除了单元格填充,并将
style=“border collapse:collapse;mso table lspace:0pt;mso table rspace:0pt;”
添加到整个邮件中的所有表中。这两个表用于像这里这样的响应性布局。。。一张桌子不行。这是一个石蕊构建