打印时,我想在每页中打印页码。如何使用css打印页码
我想通过关闭浏览器打印预览设置来实现此目的。
这是我的代码。
.rptFooter {
counter-reset: footerNum;
}
.rptFooter:after {
counter-increment: footerNum;
content: "Page " counter(footerNum) " of " counter(footerNum) ;
}
我在每一个页面让
第1页1
可以ou发布[小提琴](http://jsfiddle.net/)? – 2014-08-27 19:20:48
你解决了吗? – Riskbreaker 2014-09-17 14:40:42
试试这个:[如何编号打印页?](http://stackoverflow.com/a/43768942/6557304) – 2017-05-04 13:29:59