[css3-page] Comment on page counters

Hi,

I think it would be interesting to specify that the counter "page" can be reset.
This is useful when named pages are used. The element for which the page property
applies could then also cause a page number reset. An example:

@page front
{
   @bottom-center
   {
     content: counter(page, lower-roman)
   }
}

@page main
{
   @bottom-center
   {
     content: counter(page, decimal)
   }
}

div.front, div.main
{
   counter-reset: page;
}

div.front
{
   page: front;
}

div.main
{
   page: main;
}

Regards,

Werner.
-- 
Werner Donné  --  Re BVBA
Engelbeekstraat 8
B-3300 Tienen
tel: (+32) 486 425803	e-mail: werner.donne@re.be

Received on Tuesday, 13 January 2004 10:50:05 UTC