1

I have created a page which replicates the layout of an A4 piece of paper. While the content may spill off the bottom of the document when I print it looks fine and splits it in the print preview (I'm using Chrome v45 but ideally this would work in all major browsers).

Now I'd like to be able to control the headers and footers for certain pages. First page only might a header but all pages might have a footer.

I have being going round in circles with this and I just want to know if this would be possible?

AndyW
  • 51
  • 1
  • 7
  • 1
    Possible duplicate of [How to use HTML to print header and footer on every printed page?](http://stackoverflow.com/questions/1360869/how-to-use-html-to-print-header-and-footer-on-every-printed-page) – Aaron Gillion Apr 01 '16 at 03:23

1 Answers1

0

There is a similar question here How to use HTML to print header and footer on every printed page of a document? look at the answer by Infotekka - as that might give you a good starting point.

Community
  • 1
  • 1
G.H
  • 317
  • 1
  • 7
  • Tried this example but the footer only appears on the first page. I think position: running(footer) is need but I'm unsure if its just the browser ignoring the rule. – AndyW Oct 13 '15 at 13:07
  • Correction, Firefox is showing the footer on both pages but Chrome isn't. – AndyW Oct 13 '15 at 13:12
  • Yes, seems there is issue with Chrome - my mistake as I didn't notice in your original post you specifically mentioning Chrome. not entirely sure there is a suitable solution for you. – G.H Oct 13 '15 at 14:47