How to add brackets (a) to ordered list? compatible in all browsers.

Posted by jitendra on Stack Overflow See other posts from Stack Overflow or by jitendra
Published on 2010-04-01T05:41:27Z Indexed on 2010/04/01 6:23 UTC
Read the original article Hit count: 236

Filed under:
|
|

I have to show like

(a)

(b)

(c)

Update:

I found a CSS way

ol {list-style-type: none;}
li:before {content: "(" counter(section, lower-alpha) ") ";}
li { counter-increment: section;}

but it not works in IE 7 and lower.

How to enable support of counter in all other browsers using jquery which do not support natively.?

© Stack Overflow or respective owner

Related posts about XHTML

Related posts about css