footer issue on multipage output

45 views
Skip to first unread message

John Bell

unread,
Apr 29, 2012, 2:43:03 PM4/29/12
to dom...@googlegroups.com
I have a page with a table in the middle.

<body>
<div>header stuff here</div>
<table>stuff here</table>
<div class="footer">footer</div>
</body>

If the table runs onto 2 pages, the footer is only displayed on the
second page. If I move the footer class above the table, it renders
correctly on all pages.

Not sure if this is a bug or a feature, but just a heads up if you
wonder why there is no footer on p1

BrianS

unread,
May 15, 2012, 12:24:11 AM5/15/12
to dom...@googlegroups.com

Currently dompdf renders fixed-position content on the current page and all following pages. This is due to some limitations in the rendering process. You can probably consider this a bug, though it does create an interesting potential for creating headers that only apply later in a document.
Reply all
Reply to author
Forward
0 new messages