Anyone know the CSS (or any other method) to get table headings to repeat on each page when printing?
Cheers
| SitePoint Sponsor |
Anyone know the CSS (or any other method) to get table headings to repeat on each page when printing?
Cheers





Vinnie describes how to do it in his blog - http://blog.vinniegarcia.com/oldstuff/000127.html
Pretty easy really.![]()
Excellent - many thanks!
Next question... How to set the page format to LANDSCAPE?
Cheers...
This:Originally Posted by themissingelf
However, this was one of those things in CSS 2.0 that was subsequently dropped in CSS 2.1 due to little user agent support. Apparently it wasn't a good ideaCode:@page { size: landscape; }. The most "reliable" (and I use the term loosely) method is to let your users know about Page Setup options in their browser.
Such a shame that it is not supported. Thanks anyway.
Going back to the table headings... I've noticed that I get a blank row at the end of page 1 of a 2 page printout. Not looked closely at the code yet but just wondered if there was anything obvious that I should be looking for?
Cheers
I'd have to see your (x)HTML code to make a judgement call on that one. Could you have a row with a lot of leading whitespace that happens to fall on the page1/page2 line?Originally Posted by themissingelf

I'm looking for some information about this (repeating header on print version) but Vinnie's link isn't working. New url, Vinnie???
Any help appreciated![]()
The fewer our wants, the nearer we resemble the gods. — Socrates
SAGEWING LLC - QUALITY WEB AND MOBILE APPS. PREMIUM OUTSOURCING SERVICES.
Twitter | LinkedIn | Facebook | Google+





Same here, Vinnie is the page still up on your blog somewhere?
Bookmarks