In IE 5.0 printing tables caused page breaks to occur exactly between table
rows. If a row (with multiple lines of text) fitted completely on a page it
was printed otherwise it was printed on the next page. This behavior was
automatic and required no styles or TABLE, TR or TD properties.
In IE 5.5 page breaks occur inside table rows: part of the row (a few lines)
is shown on
the first page and the rest is shown on the next page.
------------------
| example |
<page break here>
| of this |
| behavior |
-----------------
My questions are:
- Is this a known problem?
- What is the solution? Styles like "TR {page-break-inside: avoid}" or "TR
{page-break-inside: avoid}" don't seem work.
Greetings, Frans
In my testing, even IE5 exhibited this behavior. The styles you mention
are not support by any Windows version of IE.
Even forcing page breaks (ex. page-break-after: always) does not work
*within* tables. Yes, this is pretty stupid, but nothing is to be done
until
Microsoft hires some real development managers.
For the time being, you must break up the tables or use IE styles for
repeating headers and footers in tables which forces IE to break up
rows in a more rational manner.
I explain this method in a Windows downloadable tutorial at:
http://web.tampabay.rr.com/bmerkey/examples/swissarmy.exe