gpt4 book ai didi

html - 为什么 Chrome 不在列表中显示#?

转载 作者:行者123 更新时间:2023-11-28 06:02:51 24 4
gpt4 key购买 nike

我有一个 reset.css 文件,可以清除任何类型或填充的所有列表。我通常不想要那样。在一种情况下,我这样做。它在 FF 中工作,但在 Chrome 中不工作。如果我删除 float: left 它会显示小数。错误或功能还是什么?

标记是这样的:

<ol class="tab-group">
<li class="tab">An Item</li>
<li class="tab">Another Item</li>
</ol>

CSS 是这样的:

li.tab {
padding: 10px;
border-top: solid 1px #CCC;
border-left: solid 1px #CCC;
background-color: #CCC;
float: left;
list-style-type: decimal;
list-style-position: inside;
display: list-item;
cursor: pointer;
}

最佳答案

这是 Chrome 49 中的一个错误。更新到 50 就修复了它。什么时间。

关于html - 为什么 Chrome 不在列表中显示#?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36654146/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com