is each row always the same height? if so then you could count how many you get on a page of A4 and then in your code keep track of how many rows have been output and end the table at the max limit. Then use your <br style="pagebreak"/> thingie and then start a new table....
we've used this before to good effect for an invoicing application where the invoices needed to be printed. > -----Original Message----- > From: Giles Roadnight [mailto:[EMAIL PROTECTED]] > Sent: 05 September 2002 11:08 > To: [EMAIL PROTECTED] > Subject: [ cf-dev ] OT: Printing and page breaks > > > Hi Guys, sorry for the off topic post. > > I am printing a list of tables and I want each table (apart > from the first) > to start on a new page. I have done this using the style > page-break-before : > always except in the first table and this works fine. > > This table is a border table for another table which has all > of the data. I > want this inner table to have page breaks between rows not in > rows. I have > tried page-break-inside : avoid and page-break-before : auto > at the same > time and separately in the rows and the cells of the table > but neither of > these work, I still get page breaks in the middle of my rows. > > Lastly when the border table is broken across two pages I do > not get any of > the content of the inner table on the second page. I do get > the content of > the border table (two curved gifs in the corners) though. > > Giles Roadnight > http://giles.roadnight.name > > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > For human help, e-mail: [EMAIL PROTECTED] > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED]
