G
G
GolIrgo2021-07-13 15:39:05
css
GolIrgo, 2021-07-13 15:39:05

How to remove table line breaks when printing JavaScript?

Hello!
The code is presented here: jsfiddle.net/myubaekz/2

There is a table that is quite long
And under it is a button for printing using the print() method

Line breaks are formed in the table of this kind
60ed88fe99e77403305609.png

It can be seen that the breaks are of different lengths, somewhere more break, somewhere less
Help Please, how can I get rid of these gaps?

It is desirable that the solution can be written in the HTML file itself, without using the CSS file

Thanks in advance !!!

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question