I have a number of html documents, one per chapter plus title page, etc. and all html docs use the same css file.
I've setup page numbering easy enough but can't get the numbers to run consecutively in the pdf output. As it is each chapter starts at 1, but should continue from the previous chapter, e.g. chapter 1 end on page 9, chapter 2 should start on page 10.
Currently my css is:
I know the answer must be pretty logical, but evades me.
Many thanks
I've setup page numbering easy enough but can't get the numbers to run consecutively in the pdf output. As it is each chapter starts at 1, but should continue from the previous chapter, e.g. chapter 1 end on page 9, chapter 2 should start on page 10.
Currently my css is:
@page main { size: A4 portrait;
margin: 20mm;
@top-center {
content: "Book title";
}
@bottom-center {
content: counter(page);
}
I know the answer must be pretty logical, but evades me.
Many thanks