How to Change Number Styles for Ordered Lists
Ordered lists (
<ol>
) are usually numbered in XHTML output using numerals. If
you want to change the numbering to alphabetical, follow these steps:- Define a custom
@outputclass
value and set it as an attribute of the ordered list, as in the following example:<ol outputclass="number-alpha"> <li>a</li> <li>b</li> <li>c</li> </ol>
- Add the following code snippet in a custom CSS
file:
ol.number-alpha{ list-style-type:lower-alpha; }
- Edit the WebHelp transformation
scenario and open the Parameters tab. Set the
html.stylesheet
parameter to the path of your custom CSS file - Run the transformation scenario.