I am trying to print 33 pages from my website but I need to add page number to each printed page using css I saw alot of solution for that like How to print page number using css , get printed page number of an element and Page numbers with CSS/HTML but nothing working for me and it's return an error in @bottom-right that ' is not a known CSS property name '
my CSS :
<style type="text/css" >
@media print
{
table.break {page-break-after: left}
.no-print, .no-print *
{
display: none;
}
}
@page {
@bottom-right {
content: counter(page) " of " counter(pages);
}
}
</style>