gpt4 book ai didi

html - 类被其他类覆盖

转载 作者:太空宇宙 更新时间:2023-11-03 20:23:20 25 4
gpt4 key购买 nike

这是一个简单的 CSS 问题。我的网站存在以下问题:

#main-content ol {
list-style-type: decimal;
padding-left: 25px;} /* abc.css (line 140) */

#contentWrapper p, #contentWrapper ul, #contentWrapper ol, #lmBlurbsArchive {
color: #666666;
font-size: 1.1em;
margin-bottom: 12px;
margin-left: 0;
margin-right: 0;
margin-top: 0;} /* abc.css (line 69) */

/* Code below being striped out/ over written by other class above */
ol.upper-roman {
list-style-type: upper-roman;

最佳答案

#main-content ol.upper-roman 应该足够具体才能“获胜”。

因此,在您的 CSS 中,将 ol.upper-roman 更改为上述选择器。

读一读:

关于html - 类被其他类覆盖,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5093205/

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