为什么Microsoft Outlook在发送HTML电子邮件时不会考​​虑列表样式? [英] Why doesn't Microsoft Outlook respect list styles when sending HTML emails?

查看:364
本文介绍了为什么Microsoft Outlook在发送HTML电子邮件时不会考​​虑列表样式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有以下代码,对于我的生活我无法在Microsoft Outlook中工作。

  < ul style =margin-left:50px; line-height:50px; list-style:none;> 
< li style =font-size:1.5em; list-style:none;> [UniqueCode]< / li>
< / ul>

有另一种方法来达到相同的结果?我试图向一组人发送HTML电子邮件。

解决方案

查看 Campaign Monitor指南在HTML电子邮件中的CSS支持。



list-style-image list-style-position list-style-type

在HTML电子邮件构建中使用表格单元格是标准做法,因为Outlook中的CSS支持确实很糟糕。

p>

尝试使用为列表布局指定的精确宽度的表格单元格,并将每个项目放在新行中或由< br> s


I have the following code and for the life of me I can't get it to work in Microsoft Outlook.

<ul style="margin-left: 50px; line-height: 50px; list-style: none;">
    <li style="font-size: 1.5em; list-style: none;">[UniqueCode]</li>
</ul>

Is there another way to achieve the same result? I am attempting to send a HTML email to a group of people.

解决方案

Have a look at Campaign Monitor's guide to CSS support in HTML emails.

list-style-image, list-style-position and list-style-type are not supported in Outlook 2007 or Outlook 2010.

Using table cells for layout is standard practice in HTML email builds because CSS support in Outlook is really bad.

Try using table cells with exact widths specified for the layout of your list, and have each item in a new row or separated by <br>s.

这篇关于为什么Microsoft Outlook在发送HTML电子邮件时不会考​​虑列表样式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆