Automatic numbering with CSS Counters
# Linked to 2 October 2008, 03:00 in Articles by Sam Brown
When writing documents, it is often useful to number sections and have a table of contents. You can number these by hand, directly in the markup, but this can be time consuming if the order changes and you have to edit all the numbers. CSS2.1 gives us a automated way to generate numbers using CSS counters, and this article will walk you through how to use them.
Tweet Subscribe to the RSS Feed →