Re: [CSS3-content] counters: total count

Brad Kemper wrote:
> On Oct 15, 2007, at 10:26 AM, fantasai wrote:
> 
>>
>> I was thinking about the problem of getting a total pages count to put in
>> print footers and the various permutations of that one might want. There
>> was a proposal for a 'pages' or 'total-pages' counter at some point. I'm
>> thinking a better option would be a total-count() function for the 'content'
>> property. That allows the function to apply to any counter, and it could
>> take advantage of counter-reset and counter-increment to include/exclude
>> pages or do section counts.
> 
> I'm thinking that "end-count" or "max-count" might be a more intuitive 
> keyword than "total-count".

Yeah, good point. last-count() would be another possibility. Any preferences? :)

~fantasai

Received on Wednesday, 17 October 2007 19:20:36 UTC