Table header does not repeat on new sheet when printing

Asked

Viewed 26 times

0

I have a attendance table of a school and when printing it generates two sheets. However, the table header that should be displayed on the two sheets only appears on the first one. As the header has dates with 90º rotation I had to fix the height value. The funny thing is that if I leave with up to 43px the header repeats but if it has 1px more than that it no longer repeats. Does anyone have any idea why this might be happening?

Date values are passed by php from the database.

/* Edited */

CSS: https://pastebin.com/v9YHSdLg

HTML: https://pastebin.com/sZMp8dVD

inserir a descrição da imagem aqui

  • Without your CSS do not answer you friend, but a work-Around you can put in @media print position:Fixed in the table header

  • Thank you for replying @hugocsl . Really. I added the css and html (php) codes to the pastbin and made them available above.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.