I would want show the page number at the bottom of my printable document. I found a source and follow an stackoverflow answer here but it does not help.
My current CSS to achieve this desire is like this:
body {
text-align: justify;
}
/* class to break into new page */
.pagebreak { page-break-before: always; }
@media print {
body {
font-size: 18px;
}
@bottom-right {
content: "ទំព័រទី " counter(page) " នៃ " counter(pages);
}
However, when I test print document, it does not show my page number at all.
What was wrong to my css? How can I do to achieve this result?
Thanks.
Edited
After I spent sometimes searched through this, I know of most major browser not support this @bottom-right
. Any thought of it?