首页 > 解决方案 > Outlook 2013 无法设置 td 宽度

问题描述

我正在处理 html 邮件,但最后一列的宽度太小,我的代码是:

<td width='250' style="width: 250px !important;">
    开发               
</td>

结果是: 在此处输入图片描述, 但是当单词变为英文而不是中文时,宽度很好: 在此处输入图片描述,使用web outlook时可以正常使用,但是使用outlook客户端时宽度太小。

标签: htmlcssoutlook

解决方案


尝试在表格中设置宽度和高度。

   <table border="0" cellpadding="0" cellspacing="0" width="250" height="80">
    <tbody>
      <tr>
        <td border="0" cellpadding="0" cellspacing="0" height="80" width="250">
        </td>
       </tr>
      </tbody>
    </table>

推荐阅读