This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Caută ajutor

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.

Află mai multe

Acest fir de discuție a fost arhivat. Adresează o întrebare nouă dacă ai nevoie de ajutor.

HTML5 header not printing at top of every page

more options

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>?

Toate răspunsurile (3)

more options

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.

more options

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...