When I print an HTML page, I want to include custom text in the header of all printed pages.
@page {
margin-top:5mm;
margin-bottom: 25mm;
margin-left: 30mm;
margin-right: 30mm;
@top-right{
content: "Page title"; /* Page title + current page count */
}
}
Despite setting margins successfully, the "Page Title: pageCount" does not appear when printing in IE or other browsers. What could be causing this issue?