W3C home > Mailing lists > Public > www-style@w3.org > September 2006

[CSS21] Possible counters() limitation?

From: Anne van Kesteren <annevk@opera.com>
Date: Sat, 09 Sep 2006 14:53:02 +0200
To: www-style@w3.org
Message-ID: <op.tfl3eoem64w2qv@id-c0020.oslo.opera.com>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:46 GMT