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.
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.
I use this code snippet in mediawiki with CSS enabled. I am not sure whether this will work in older versions of IE...
Outputs:
I instead made paragraphs. I indented the paragraph and then pulled out the first line, using a text-indent and numbered these myself.
Since CSS3 the problem seems solved:
http://www.w3.org/TR/2011/WD-css3-lists-20110524/
There's no built-in way to do this. Which means you enter the land of (fun) hacks.
You could try a background image of two parentheses.
Or you can simply add the text count manually without having yo worry about browser fallbacks. Works in any browser!
You can't get (a) (b) (c).
You can however get the letter without the brackets:
<ul style="list-style-type: lower-latin;">...</ul>
See http://www.w3schools.com/CSS/tryit.asp?filename=trycss_list-style-type_all