When trying to print a table generated by phpExcel , IE ignores any styles and borders when going to the next page.
When displayed in the browser - everything is displayed correctly, and when printing - no longer.
border-collapse , manually writing styles to cells, using @media print css, and so on did not help.
The styles on the second page are selectively ignored when trying to print.
ps I apologize for this method of making screenshots. On the Windows computer there is no Internet and the ability to insert a USB flash drive.
In the browser:
In preview:
An example of the generated problem code.
The solution from the next topic did not work - there was another problem.
The option to move the doctype to the very beginning of the code did not work.
Currently reproduced on all current versions of IE. On the Edge is not reproduced, it is already on another engine.

