Set format of ordered lists: 1/a/i
Is it possible to set the default format of ordered lists, so that they appear as:
- decimal
- lower-alpha
i. lower-roman
rather than:
- decimal
- decimal
- decimal
I can change the formal of each list using 'Edit CSS style' on the Edit Content page, but would rather change the default format for the whole wiki.
Posted at 8:19 AM on May 12, 2009
To do this I added the following lines to the CSS style sheet:
OL { list-style-type: decimal } /* A B C D E etc. */
OL OL { list-style-type: lower-alpha } /* 1 2 3 4 5 etc. */
OL OL OL { list-style-type: lower-roman } /* i ii iii iv v etc. */
Posted at 10:47 AM on May 12, 2009
I got the answer from:
http://www.htmlhelp.com/reference/css/classification/list-style-type.html
My above reply should have read:
OL { list-style-type: decimal } /* 1 2 3 4 5 etc. */
OL OL { list-style-type: lower-alpha } /* a b c d e etc. */
OL OL OL { list-style-type: lower-roman } /* i ii iii iv v etc. */
Posted at 10:50 AM on May 12, 2009
Simon,
That's a great idea. I'll get this added to the skins so it will be there by default in the future.
Cheers,
Matt
Posted at 11:46 AM on May 12, 2009