You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to create a PDF that has a footer on each page. The footer has repeat-on-break: footer; and position: running(footer);. This positions a footer on each page as expected, but a blank space is left where the footer would have been without position: running(footer);.
This problem also affects elements that have repeat-on-break: header; and position: absolute;.
To Reproduce
The simplest way I can reproduce this issue is with the attached file. The .page span spans two pages. The blank space is at the bottom of the first page. test.html.txt
Expected behavior
The gap should be filled with content from the next page.
The text was updated successfully, but these errors were encountered:
@MurakamiShinyu thank you for your help. This solution works for the PDF, although moving the footer element to the top of the body element means the HTML file displays the footer at the top of the page. Ideally the HTML page will have a single footer at the bottom of the document and the PDF will have a footer at the bottom of each page.
I've found a work around using your example with the following:
I am trying to create a PDF that has a footer on each page. The footer has
repeat-on-break: footer;
andposition: running(footer);
. This positions a footer on each page as expected, but a blank space is left where the footer would have been withoutposition: running(footer);
.This problem also affects elements that have
repeat-on-break: header;
andposition: absolute;
.To Reproduce
The simplest way I can reproduce this issue is with the attached file. The .page span spans two pages. The blank space is at the bottom of the first page.
test.html.txt
Expected behavior
The gap should be filled with content from the next page.
The text was updated successfully, but these errors were encountered: