css21: counter-reset supported?
Mikolaj Machowski
mikmach at wp.pl
Wed Apr 6 16:24:48 BST 2005
Hello,
Is 'counter-reset' supported in CVS-HEAD or
should be not reseting of counters considered bug?
content, counter-increment are working so counter-reset should also...
I have these lines in CSS:
h2:before { content : counter(chapter)" "; counter-increment : chapter ;
counter-reset : section subsection subsubsection paragraph }
h3:before { content : counter(chapter)"."counter(section)" ";
counter-increment : section ; counter-reset : subsection subsubsection
paragraph }
h4:before { content :
counter(chapter)"."counter(section)"."counter(subsection)" ";
counter-increment : subsection ; counter-reset : subsubsection paragraph }
h5:before { content :
counter(chapter)"."counter(section)"."counter(subsection)"."counter(subsubsection)"
"; counter-increment : subsubsection ; counter-reset : paragraph }
h6:before { content :
counter(chapter)"."counter(section)"."counter(subsection)"."counter(subsubsection)"."counter(paragraph)"
"; counter-increment : paragraph}
Thanks for info
m.
--
LaTeX + Vim = http://vim-latex.sourceforge.net/
Vim Universal Templates
http://www.vim.org/scripts/script.php?script_id=1078
CLEWN - http://clewn.sf.net
More information about the kfm-devel
mailing list