0
我有一個網站,有帖子列表,數字1到50。它的工作原理在Chrome,Firefox和IE 10,但不是在IE 8或更低....如何開始有序列表(IE8)的開始或值?
我有這樣的一個:<ol id="post-list" class="lol" start="1">
CSS:
#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}
問題:無邊框底部在IE 8(或更低),並從1開始,沒有屬性/值/列表我怎樣才能使它發揮作用?爲什麼我的特定於IE的樣式表不響應#entry-list > li:before
?
嗯,這是重要的代碼,我想不出任何其他代碼可能需要嗎? :before語句由於某種原因不起作用。我使用IE的兼容性視圖,也許這是問題... 無論如何,謝謝你的回答。 – user1814289