Re: [WSG] The Content Generation[2nd Post]

2005-01-21 Thread Kornel Lesinski
To keep the user informed of the number of pages remaining out of n http://www.w3.org/TR/2004/CR-css3-page-20040225/#pg-based-extensions "A UA MUST act as if there was a counter with the name of 'pages' and its initial value was set to the total number of pages." AFAIK currently no browser supports

Re: [WSG] The Content Generation[2nd Post]

2005-01-21 Thread Chris Kennon
Hi, I was hoping to use something to the effect: H1:before { content: "Chapter " counter(chapter) ". "; counter-increment: chapter; /* Add 1 to chapter */ counter-reset: section; /* Set section to 0 */ } H2:before { content: counter(chapter) "." counter(section) " "; count

Re: [WSG] The Content Generation[2nd Post]

2005-01-21 Thread Alan Trick
I'm not sure I understand what you want done, are you saying something like haveing a differently generated css depending on the number of pages? If so Chris Stratford is probably right I think (don't quote me on this though) that is valid as long as the generated file is formated properly.

Re: [WSG] The Content Generation[2nd Post]

2005-01-21 Thread Chris Stratford
Hey Chris, AFAIK - you wouldnt be able to have CSS count the number of pages you have... That would require server side coding... UA Support would be minimal (in terms of PEOPLE, in terms of browsers, probably every browser except IE) - Cheers Chris Kennon wrote: Sorry for the double post, but t

[WSG] The Content Generation[2nd Post]

2005-01-21 Thread Chris Kennon
Sorry for the double post, but this got lost behind the site review. Hi All, At: http://working.ckimedia.com/questionWar/qw_account_01.htm You'll notice: Page 1 of n The goal is dynamic changes based upon the total number of pages. I hoping to use generated content, but then shuddered when thinkin