Wrox Programmer Forums
|
HTML Code Clinic Do you have some HTML code you'd like to share and get suggestions from others for tweaking or improving it? This discussion is the place.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the HTML Code Clinic section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 26th, 2004, 10:51 PM
Friend of Wrox
 
Join Date: Sep 2003
Posts: 363
Thanks: 0
Thanked 1 Time in 1 Post
Default Print table headers

Hello,

   I have a long table with thead and tbody tags and it has inner tables. I want to print thead in every page(main table). I am not able to do. How can i do this.



 
Old August 27th, 2004, 08:52 AM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 1,285
Thanks: 0
Thanked 2 Times in 2 Posts
Default

I don't grasp what exactly you want to do. You want to print the content of every thead in one table?

Snib

<><
 
Old August 27th, 2004, 04:45 PM
richard.york's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
Default

No, I think he wants to repeat table headings for every printed page. There is no way to do it that I am aware of.

You can however, physically repeat the table headings in the document and use a CSS declaration like page-break-before: always; to force a page break before the start of the repeated headings.

thead {
    page-break-before: always;
}

HTH!

Regards,
Rich

--
[http://www.smilingsouls.net]
[http://pear.php.net/Mail_IMAP] A PHP/C-Client/PEAR solution for webmail
 
Old August 27th, 2004, 05:05 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 425
Thanks: 0
Thanked 3 Times in 3 Posts
Default

There is, but it only works in a few browsers. And quirky at that IIRC.

The down-and-dirty:
http://css-discuss.incutio.com/?page=PrintingTables

(o<
//\ =^..^=
 
Old August 27th, 2004, 08:54 PM
Friend of Wrox
 
Join Date: Sep 2003
Posts: 363
Thanks: 0
Thanked 1 Time in 1 Post
Default

Yeah,

  I want to print headers on every page.
I have read that, THEADE and TFOOT are used to repeat the content when printing multiple pages(long table).

But i am not able to do that. Wat's the problem. I m using IE 6.0



 
Old August 27th, 2004, 10:20 PM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 1,285
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Did you read the link meow posted?

:-)

Snib

<><
 
Old August 28th, 2004, 02:23 AM
Friend of Wrox
 
Join Date: Sep 2003
Posts: 363
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi members,

  Thanx for replying this post. I got it.







Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic Table Column Headers elygp ASP.NET 1.0 and 1.1 Professional 2 May 8th, 2007 04:52 AM
Column Headers for Dynamic Table elygp ASP.NET 1.0 and 1.1 Basics 1 May 8th, 2007 02:43 AM
Transform html table to add ids/headers using xsl kapy_kal XSLT 2 February 21st, 2007 10:12 AM
Print only Table qazi_nomi Javascript How-To 4 October 17th, 2005 08:07 AM
How to NOT print crosstab column headers chan Crystal Reports 0 August 11th, 2005 05:29 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.