Forum How do I...?

Header/footer on first page only

Stephan Neumann (old)
Hi,

The users of my program have three options for headers and footers:
'on first page', 'on left page' and 'on right page'. When they only check 'on first page', I generate this (in this case for top-left):

<html>
<head>
<style>
@page { @top-left{content: 'header left';}}
@page:left{ @top-left{content: normal}}
@page:right{ @top-left{content: normal}}
@page:first{ @top-left{content: 'header left';}
</style>
</head>
<body>
heaps of text
</body>
</html>

But this gives me no header on the first page. The reverse (right page checked, 1st page not checked) works excellent. Any ideas?

Thanks,

Stephan Neumann

regards, Stephan Neumann

mikeday
Missing a } after the @page:first rule.
Stephan Neumann (old)
Oops...thanks

regards, Stephan Neumann