开发者

Nested OL digit.digit style list for IE7 (and below) - Javascript solution?

开发者 https://www.devze.com 2023-01-17 23:58 出处:网络
This was hinted at in another post, but I need some assistance with displaying a list like this in IE7

This was hinted at in another post, but I need some assistance with displaying a list like this in IE7

1. 
   a. 
   b. 
         1.0 
         2.0 
           2.1 
2.

I think I am limited to JavaScript because of IE7's lack of CSS :befor开发者_运维问答e support. For example, this does not work

OL { counter-reset: item }
LI { display: block }
LI:before { content: counters(item, ".") " "; counter-increment: item }

Any pointers?


I haven't found a complete solution, but I have found a partial solution to this problem. Please refer to the Blog post Techy Treasures #5: Fudging CSS Counters in Internet Explorer

0

精彩评论

暂无评论...
验证码 换一张
取 消