The userguide says:
but this does not seem to be the case for the first page. The following html generates a pdf with 'This should not be shown on any page' on the first page:
Is this a bug or have I misunderstood the userguide?
-Mads
The last non-normal flow element that appears on a page will be used on the current page and carried onto following pages.
but this does not seem to be the case for the first page. The following html generates a pdf with 'This should not be shown on any page' on the first page:
<!DOCTYPE html>
<html lang="en">
<head>
<style type="text/css" title="text/css" media="all">
@page {
@top-center {
content: flow(princeheader);
}
}
div.princeheader {
flow: static(princeheader);
}
div.page {
page-break-after: always;
}
</style>
</head>
<body>
<div class=princeheader>
This should not be shown on any page
</div>
<div class=princeheader>
The last non-normal flow element that appears on a page will be used on the current page and carried onto following pages
</div>
<div class=page>Page 1</div>
<div class=page>Page 2</div>
</body>
</html>
Is this a bug or have I misunderstood the userguide?
-Mads