Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

HTML5 header not printing at top of every page

I've created an HTML file that uses the new HTML5 tag <header>. But when I go to print that file from within Firefox 12, it only prints on the top of the first page rather than the top of every page as I would expect from a word processor. Or am I misunderstanding the purpose of <header>?

I've created an HTML file that uses the new HTML5 tag <header>. But when I go to print that file from within Firefox 12, it only prints on the top of the first page rather than the top of every page as I would expect from a word processor. Or am I misunderstanding the purpose of <header>?

All Replies (3)

The way Firefox (and, to be honest, all other browsers) currently implement the new HTML5 <header> tag there is no practical difference between <header> and <body>. Having the browser print the <header> at the top of every page of a printout would be immensely useful for report generation and would be the evident purpose behind the tag.

I've read you can use "position:fixed; top:0;" to get an element to print on each page, but you would need to accommodate this somehow so content is not overwritten...