使用Outlook 365的HTML / CSS电子邮件 - 无法使用“list-style:none;”来处理项目符号列表

时间:2022-08-23 14:35:37

I have an HTML/CSS email working great in all email browsers, except in Outlook 365 the "list-style:none;" attribute is being ignored. I have the style set external and inline.

我有一个HTML / CSS电子邮件在所有电子邮件浏览器中运行良好,除了在Outlook 365中“list-style:none;”属性被忽略。我将样式设置为外部和内联。

Any help will be appreciated!

任何帮助将不胜感激!

2 个解决方案

#1


0  

I am no html/css email pro, but what I have read is that by creating your css within the email and having it internal in the head tag, or having it inline in the specific ul or ol tag. Also, make sure that you are typing list-style-type: none; and not list-style: none;.

我不是html / css电子邮件专业版,但我读过的是通过在电子邮件中创建你的css并将其置于head标签内部,或者将其内联在特定的ul或ol标签中。另外,请确保键入list-style-type:none;而不是list-style:none;。

Here's a pretty good site that gives alot of information on writing/styling HTML emails: Rock Solid Emails

这是一个非常好的网站,提供了很多关于HTML电子邮件编写/样式的信息:Rock Solid Emails

Cheers!

#2


0  

Have you tried the following?

你试过以下吗?

list-style:none!important;

#1


0  

I am no html/css email pro, but what I have read is that by creating your css within the email and having it internal in the head tag, or having it inline in the specific ul or ol tag. Also, make sure that you are typing list-style-type: none; and not list-style: none;.

我不是html / css电子邮件专业版,但我读过的是通过在电子邮件中创建你的css并将其置于head标签内部,或者将其内联在特定的ul或ol标签中。另外,请确保键入list-style-type:none;而不是list-style:none;。

Here's a pretty good site that gives alot of information on writing/styling HTML emails: Rock Solid Emails

这是一个非常好的网站,提供了很多关于HTML电子邮件编写/样式的信息:Rock Solid Emails

Cheers!

#2


0  

Have you tried the following?

你试过以下吗?

list-style:none!important;