LISTSERV Maestro 11.1-3 Help Table Of Contents

HTML Support for PDF Landing Pages

Table Headers & Footers

If your table has a <thead> header and/or a <tfoot> footer, then normally, the header appears only at the very beginning of the table and the footer at the very end. If, in case of a page break, you want the header and footer to repeat on every page, set the following style for the table:

<table style="-fs-table-paginate:paginate;">

If desired, it is also possible to add content to the table header and/or footer that is only visible in the header/footer occurrences on subsequent pages, but not in the first header/footer. This allows you for example to add a "continued" marker or similar. The example below shows this for the table header but it can be equally applied to the table footer.

First, you add an empty <span> element at the location in the header/footer, where you want the additional content to appear on subsequent pages, and you apply a suitable CSS class to this <span> ("continued" in the example below).

<thead>
	<tr>
		<th>
			Normal Header Here<span class="continued"></span>
		</th>
	</tr>
</thead>

Then you define the ::before pseudo element for this class via a suitable CSS rule, in which you define a content that is to be shown on continued pages, and the special visibility value -fs-table-paginate-repeated-visible.

.continued::before {
	content: " (continued)";
	visibility: -fs-table-paginate-repeated-visible;
}
© 2002-2023 L-Soft Sweden AB. All rights reserved.