how table content not an different pages when printing

M

Manfred Ullrich

I have a table and within a <td> </td> more than one line text.
When printing the text is splitted and so on different pages.
How can I avoid this? I will have the table completely on ONE page.

thanks, Manfred
 
J

Jukka K. Korpela

Manfred said:
I have a table and within a <td> </td> more than one line text.

Do you have a URL for the page?
When printing the text is splitted and so on different pages.

That's quite possible. It depends on the browser.
How can I avoid this?

Mostly, you can't. If you had posted the URL, some solution for a
special case might have been found.

Typically, removing all width and height attributes (and their CSS
counterparts) is a good start in making the page adapt to various
rendering situations, including printing.
I will have the table completely on ONE page.

You can say
table { page-break-inside: avoid; }
in CSS, but as far as I know, all browsers ignore it. Besides, it can at
most be a wish, since you cannot know the size of a printed page in the
user's environment.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top