The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS How to print tables?

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #28853

    Say you have a table containing rows enough to span two A4 pages. When I print in FF/Mac 3.6, IE7 & IE8 page two just comes out blank, the first page cutting the table off when there isn’t more space.

    The specification says it can not break when using:

    table { page-break-inside: avoid; }

    But only Opera supports this feature. What to do?


    5 years later and I still have the same problem.

    I tried:

    table, tr, td, th { page-break-inside: avoid; }

    I even tried:

    display: block;
    page-break-inside: avoid;


    <th><div class="noBreak">...</div></th>
    <td><div class="noBreak">...</div></td>

    That didn’t work. I tried wrapping every tr in a tbody tag.
    That didn’t work and it broke the zebra stripe.

    Surely someone has solved this problem somewhere…

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.