[CSS21] Possible counters() limitation?

Hi,

It seems that the counters() construct doesn't really address the use case  
of sections and headers. With a structure such as:

   <section>
    <h>LEVEL 1</h>
    <section>
     <h>LEVEL 2</h>
    </section>
    <section>
     <h>LEVEL 2</h>
    </section>
   </section>

... I can't really find the a way to get an outline such as:

   1.  LEVEL 1
   1.1 LEVEL 2
   1.2 LEVEL 2

I attached an example of this so people can play with it and try to make  
it work. I hope it makes it through.

Kind regards,


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>

Received on Saturday, 9 September 2006 12:53:30 UTC