- From: Anne van Kesteren <annevk@opera.com>
- Date: Sat, 09 Sep 2006 18:41:22 +0200
- To: www-style@w3.org
On Sat, 09 Sep 2006 18:38:01 +0200, Simon Pieters <zcorpan@hotmail.com> wrote: > I believe this should work: > > :root, h + section { counter-reset:headers; } > h::before { content:counters(headers, "."); > counter-increment:headers; } Interesting. It stops working though when you put some paragraphs between the heading and the first subsection and ~ doesn't really solve that... -- Anne van Kesteren <http://annevankesteren.nl/> <http://www.opera.com/>
Received on Saturday, 9 September 2006 16:42:03 UTC