/    Sign up×
Community /Pin to ProfileBookmark

<THEAD> <TBODY> and print tables

Hello all people !!!

I have a problem with complex tables, when I print a big html table headers only show in the first page, I tried to use <THEAD>,…<TBODY>,…<TFOOT>, for define my tables, but I have same problem when I print this tables, header only shows in the first printed page ? .

I use internet explorer 6, and html 4.01.

Thank´s

to post a comment
HTML

4 Comments(s)

Copy linkTweet thisAlerts:
@DaveSWApr 19.2005 — I think you need a server program that breaks it down to A4 page length for this...
Copy linkTweet thisAlerts:
@CharlesApr 19.2005 — That or be patient and wait for browsers to properly impliment the THEAD element.
Copy linkTweet thisAlerts:
@AllItsPossibleMay 27.2005 — Hello becknetstat,

Use the following CSS ...

<style type="text/css" media="print">

thead {display: table-header-group; }

tfoot {display: table-footer-group; }

thead th, thead td {position: static; }

</style>


Nothing is impossible ...
Copy linkTweet thisAlerts:
@DaveSWMay 27.2005 — Awesome!

Only glitch is that tfoot disappears on FF until the last page.
×

Success!

Help @becknetstat spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...