HTML/XSL/CSS counter(pages) not working -
HTML/XSL/CSS counter(pages) not working -
i have read lot how utilize pages counter css in footer page. demand build 'printing' (scuse english) document displays current , total count of pages in footer of every page.
early answers using:
/* page configuration */ @page { counter-reset: page; } /* da footer */ .class_name:before { counter-increment: page; content: "page " counter(page) " of " counter(pages); }
will automatically load pages counter preset in css.
in fact, 'page' counter working total 'pages' isn't.
in bunch of forums , etcetera have read, ensures 'pages' predefined in css not me.
somebody knows why?
additionally create test using 2 different classes
<span class="page-number"/><span class="page_count"/>
as described in w3c explanation pages count works in first page
thanks!
html css xml xslt
Comments
Post a Comment