html - Outlook 2013 无法设置 td 宽度
问题描述
我正在处理 html 邮件,但最后一列的宽度太小,我的代码是:
<td width='250' style="width: 250px !important;">
开发
</td>
结果是: 在此处输入图片描述, 但是当单词变为英文而不是中文时,宽度很好: 在此处输入图片描述,使用web outlook时可以正常使用,但是使用outlook客户端时宽度太小。
解决方案
尝试在表格中设置宽度和高度。
<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>
推荐阅读
- android - 启动 Activity 时 Android 屏幕闪烁
- javascript - 为什么 Reduce 会在它完成对传入的整个数组的循环之前关闭?
- angular - 根据最初检查的复选框值在后退按钮单击时重新加载 Angular 6 反应式表单
- json - 如何将泛型值:'T 转换为 F# 上的数组<'R>
- sql - 为另一列的每个唯一值选择具有一列唯一值的行
- c# - UWP 应用构建失败“找不到 Microsoft.UI.Xaml.Markup”
- ruby - 从 Ruby 中的字符串中删除“\r”或回车符
- c# - 从checkedListBox c#中删除选中的项目
- ruby-on-rails - Searchkick - 2 个单独列上的范围
- python - 如何通过 POST 向 Flask 应用程序发送和接收显式空值