1
Well, I’m not being able to use CSS @page to count the pages when printing, someone knows a method?
<style>
@page{
counter-increment: page;
}
.totalpag{
content: counter(page);
}
</style>
<span class="totalpag"></span>
It’s because ta kind of big and confusing but basically it’s a table with thead, tbody and tfoot, when I print gets the right header the lines and Foot on each page, but I can’t put the total of pages in the last line as the print shows: Imagery
is because it’s kind of big and confusing but basically it’s a table with thead, tbody and tfoot, when I print it gets the cute header the lines and Foot on each page, but I can’t put the total pages on the last line as shown in the print: http://prntscr.com/hbbl6d
– Yan P. Gabriel
"The@page CSS rule is used to modify some CSS properties when the document is printed. You cannot change all CSS properties with@page. You can only change the margins, Orphans, Widows, and page breaks of the document. In an attempt to change another CSS property, they will be ignored." Source: MDN web Docs
– avsinacio