At 10:17 PM +0400 3/30/09, RommeDeSerieux wrote:
>I was very skeptical about it, but still tried, even turned it into
>xhtml for your pleasure. You can take a look at it here:
>http://tesall.ru/counters.xhtml
Believe it or not:
li:before { content: counters(list, ".") ". " }
Note the dot I added to the second bit of quoted text. This
worked for me (with nested lists as well as top-level list items) in
several browsers. Not IE7 or earlier, of course. Didn't test in IE8.
--
Eric A. Meyer (http://meyerweb.com/eric/), List Chaperone
"CSS is much too interesting and elegant to be not taken seriously."
-- Martina Kosloff (http://mako4css.com/)
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/