It happens that I have an HTML page that will be printed. I wanted to add a page counter and was trying to use @page
for that. But then, I noticed that @page
was not working at all in Internet Explorer. It works in Chrome, though. Everything except the content
property, that doesn't show.
Here's the code
@page {
size: auto; /* auto is the current printer page size */
margin: 10%; /* this affects the margin in the printer settings */
@bottom-center{
font-family: FlamaSemicond-Basic;
font-size: 10pt;
color: black;
content: "Hello!";
}
}