I have tried numerous solutions from various sources, but none seem to work for my specific issue.
My HTML page consists only of a table that I want to print perfectly on a horizontal A4 sheet.
Here is the table without any text (it is a match referee):
https://i.sstatic.net/DqF0U.png
(source: i.ibb.co)
The problem arises when I add text as it alters the height of the table.
I attempted inserting a div inside the td with a set height, but this did not provide the desired outcome.
Furthermore, I am seeking guidance on how to print the page horizontally as the table exceeds the printable area.
Below is an example snippet of my table:
<table>
<tr>
<td>
<div>BLABLABLA</div>
</td>
</tr>
...
...
...
</table>