Printing tables: <thead>, <tfoot>, page-break-inside:avoid

B

bernhard

Hi all,

I like to print a table wirh many rows spanning several pages. To
display table headers and footers on every page, I use <thead> and
<tfoot>.

Each cell contains a varying number of lines. I want to keep them
together on a page using the following css:

tr { page-break-inside:avoid; }

The css works as expected with Opera, but Opera does'nt print the
<thead> and <tfoot> sections on every page.

FF prints the <thead> and <tfoot> sections as expected on every page,
even with nested tables, but does'nt honor the css.

Any solutions? As I can control the environment (which browser to use),
browser dependent solutions are welcome.

Thanks
 

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
473,733
Messages
2,569,440
Members
44,831
Latest member
HealthSmartketoReviews

Latest Threads

Top