Other Changes to Text in the TOC and Index in Dynamic HTML
You can change the text in the table of contents and the index by adding the proper CSS coding between the braces for the appropriate style and class. Put the value after a colon, and put a semicolon at the end of the added coding. The following table summarizes the CSS coding for some common modifications.
Markup |
Possible Values |
Explanation |
font-style: |
normal | italic | oblique |
Specifies whether the font should use the normal, also known as upright or roman, italic, or oblique faces within a font family. |
font-weight: |
normal | bold | bolder | lighter | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 |
Specifies the thickness of the font. The value normal is equal to 400, and the value bold is equal to 700. |
text-transform: |
capitalize | uppercase | lowercase | none |
Specifies whether to transform the case of the text. |
text-align: |
left | right | center | justify |
Specifies how to align the text on the page. |