CSS-based PDF on wrong page header
Posted: Fri Sep 06, 2019 12:00 pm
I’d like to display the page number at the bottom of the page instead top,
then I use the @page attributes in my CSS file, and specify:
@page {
@bottom-center {
content: counter(page);
font-family: "Arial","Microsoft YaHei", sans-serif; }
}
The page number is displayed on the bottom correctly.
But the header is still displayed and with wrong content, I don't even pecify it.
how to remove the hader?
And another question: can I display the section title in the TOC when publishing in PDF?
then I use the @page attributes in my CSS file, and specify:
@page {
@bottom-center {
content: counter(page);
font-family: "Arial","Microsoft YaHei", sans-serif; }
}
The page number is displayed on the bottom correctly.
But the header is still displayed and with wrong content, I don't even pecify it.
how to remove the hader?
And another question: can I display the section title in the TOC when publishing in PDF?