How to save the <td> element on multiple pages when printing from IE?

I have an HTML data table in which each cell can have multiple lines of text. When the table is printed, it is possible to split the line so that some data is displayed at the bottom of the first page, and some at the top of the next. Is there an equivalent to keeping Word together functionality that will prevent page breaks in a table row? I would think this would be a common problem, but the only "answer" I could find was hidden on a specific portable website. :)

Update: Data will be viewed using IE 7, which, according to him, does not correctly handle the page break property (if at all). Are there any alternatives? Can jQuery help with this?

+5
source share
2 answers

to try:

A convenient way for CSS2 to do this would be
td {page-break-inside: avoid; }

see page break definition

from: http://channel9.msdn.com/forums/TechOff/35322-Keep-with-next-when-printing-HTML-tables/

+5
source

All Articles