I’m seeing on this site: http://www.modernizr.com/docs/ how they have a decimal list item that actually shows the decimals. I’ve used firebug and can’t seem to determine exactly how it’s done. It’s gotta be done somehow via CSS… I turned off JS and it still shows up.
Perhaps someone else could have better luck…
They’re using the
counter-incrementandcounter-resetproperties. You can use these properties to define sections of your markup that need to be counted incrementally by the browser, and then use them to apply the appropriate labels automatically. (You can see a working demo here.)