Leximation
 Tools and Solutions for Print and Online Publishing
Gears

Click to expand the navigation area.

List Item Number Formatting - Normally the formatting of a list item (LI tag) number is the same as the rest of the list item. This sample shows you how to apply different formatting to the numbers.

This explains how to apply different formatting to the numbers, and provides two programmatic methods for applying this formatting on the fly (via JavaScript and HTC).

This download contains the following files:

  • Browser-independent HTML file that implements list item number formatting (li-number-format-all.htm).
  • IE-specific HTML file that implements list item number formatting (li-number-format-ie.htm).
  • The associated HTC file for the IE-specific version.

download linumformat.zip v.0.01 [3KB]