Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/38.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Css 如何使用start或value启动有序列表(IE8)?_Css_Internet Explorer_List_Html Lists_Border - Fatal编程技术网

Css 如何使用start或value启动有序列表(IE8)?

Css 如何使用start或value启动有序列表(IE8)?,css,internet-explorer,list,html-lists,border,Css,Internet Explorer,List,Html Lists,Border,我有一个网站,上面有一个从1到50的帖子列表。它适用于Chrome、Firefox和IE10,但不适用于IE8或更低版本 我有这个: CSS: 问题是:IE 8(或更低版本)中没有边框底部,也没有以1开头的属性/值/列表。我怎样才能让它工作?为什么我的IE特定样式表没有响应#条目列表>li:before?看看这个答案是否有帮助,对于:before问题: 至于“开始”。。。它应该是有效的。您在执行此操作时是否使用了任何css规范化?然而,我们需要看更多的代码来了解情况。但是,您确实意识到,您发布的

我有一个网站,上面有一个从1到50的帖子列表。它适用于Chrome、Firefox和IE10,但不适用于IE8或更低版本

我有这个:

CSS:


问题是:IE 8(或更低版本)中没有边框底部,也没有以1开头的属性/值/列表。我怎样才能让它工作?为什么我的IE特定样式表没有响应
#条目列表>li:before

看看这个答案是否有帮助,对于:before问题:


至于“开始”。。。它应该是有效的。您在执行此操作时是否使用了任何css规范化?然而,我们需要看更多的代码来了解情况。但是,您确实意识到,您发布的CSS将针对id为entry list的对象,而不是post list,对吗?

好吧,这是重要的代码,我想您可能不需要任何其他代码?:before语句由于某些原因不起作用。我正在使用IE的兼容性视图,也许这就是问题所在。。。无论如何,谢谢你的回答。
#entry-list > li:before {
    border-bottom: 1px solid #D9D9D9;
    color: gray;
    content: attr(value);
    width: 100%;
}

#entry-list {
    list-style: none outside none;
    margin-top: 0;
    word-wrap: break-word;
}

    #entry-list .content{margin-bottom:10px}
#entry-list>li{position:relative}
#entry-list>li:not(:last-child){margin-bottom:30px}