W3C home > Mailing lists > Public > www-style@w3.org > May 2007

Re: [css3-gcpm] counter() and "special" values

From: Michael Day <mikeday@yeslogic.com>
Date: Wed, 30 May 2007 10:08:20 +1000
Message-ID: <465CC074.5040505@yeslogic.com>
To: del@alum.mit.edu
CC: www-style@w3.org

Hi Del,

>    Are there any specially named values for counters?
> 
> E.g., can I generate content like this:
> 
>    content: "Page " counter(page) " of " counter(pages)

Prince treats "page", "pages", "footnote" and "list-item" as special 
counter values.

However, I don't think the specifications define all these yet. There 
was a pages() function in a past draft of CSS3 Paged Media at one stage 
I believe.

Best regards,

Michael

-- 
Print XML with Prince!
http://www.princexml.com
Received on Wednesday, 30 May 2007 00:08:25 GMT

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