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
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 link rel=stylesheet type=text/css
href=style.php / is valid as
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) ;
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