【问题标题】:Bullets not lining up in Outlook 2007, 2010, 2013Outlook 2007、2010、2013 中的项目符号未排列
【发布时间】:2018-04-16 07:51:56
【问题描述】:

我正在使用以下代码来创建项目符号:

<tr align="left">
    <td valign="top" width="40" style="text-align:left; line-height:26px; padding: 0px;">
    &bull;
    </td>
    <td height="20" style="text-align:left;line-height:26px;padding:0px;">
    Lorem Ipsum is simply dummy text of the printing and typesetting industry. 
    </td>
</tr>

我希望它看起来像这样:

但它看起来像这样:

【问题讨论】:

  • 好吧,您将项目符号放在单独的表格行中,这样就可以了。
  • 在同一个tr但不同td

标签: html email outlook outlook-2010 outlook-2007


【解决方案1】:

检查“p”和“li”的填充和边距。

【讨论】:

  • 忘记选择它作为代码。不填充也不使用li
【解决方案2】:

将此添加到您的&lt;head&gt;

<!--[if (gte mso 9)|(IE)]>
  <style type="text/css">
    li {text-indent: -1em;}
  </style>
<![endif]-->

试试这个代替你的清单:

<ul>
  <li>
    Lorem Ipsum is simply dummy text of the printing and typesetting industry. 
  </li>
</ul>

您可以添加任何您喜欢的额外格式效果。

祝你好运。

【讨论】:

  • 我一直被教导不要使用 ul 和 li 因为outlook 有问题。除非我被错误地告知?
  • @NathJP 我的客户群充满了讨厌的 Outlook 用户。我对子弹的需求不多,但是当我使用它们时,我就是这样做的。
猜你喜欢
  • 2017-03-07
  • 1970-01-01
  • 2015-08-03
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多