- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2023 01:56 PM - edited 07-31-2023 08:59 AM
I am building an HTML document template. I have a cover page, then 6 pages of content. I want to have the page numbering start with 1 on page 2 of the document. I cannot seem to get this to work. I can hide the footer on the first page, but the numbers on the second page start at Page 2 of X.
Has anyone successfully met this requirement with HTML document templates?
<style>
{
@bottom-center {
content: element(pageFooter);
}
}
@page:first {
@bottom-center {
content: normal
}}
#pageFooter{
position: running(pageFooter);
font-family: arial, helvetica, sans-serif;
font-size: 9pt;
}
</style>
<style>
:first {
@bottom-right {
content: normal;
}
}
{
@bottom-right {
counter-reset: Page 1
content: "Page " counter(page) " of " counter(pages);
font-family: arial, helvetica, sans-serif;
font-size: 9pt;
}
}
</style>
<div id="pageFooter">Document for ${u_employee_name} (${u_employee_id})</div>
Solved! Go to Solution.
- Labels:
-
Human Resources Service Delivery

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2023 05:47 AM
Everything I've read says we cannot manipulate the pages count (i.e., we can change the X, but not Y in "page X of Y"). I've been trying a lot of workarounds and tests, but haven't been successful in updating Y either.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2023 05:47 AM
Everything I've read says we cannot manipulate the pages count (i.e., we can change the X, but not Y in "page X of Y"). I've been trying a lot of workarounds and tests, but haven't been successful in updating Y either.