Believe you can't use the style=page-break etc. inside a table.
So you have to count rows and end your table, put in the
break, and start a new table for each page.
Carol L. Bluestein
Senior Programmer
NYS Office of Real Property
518-486-6335
[EMAIL PROTECTED]
____________________Reply Separator____________________
Subject: Printing, page breaks, and heading info
Author: [EMAIL PROTECTED]
Date: 4/9/01 12:48 PM
Hey all,
I have a shipping and receiving application that allows employees to
generate a shipping request via the web. The shipping dept. would like that
form to be printed out by the user, but they want one of two things when
this happens:
1) Either only allow the maximum number of items that will print on one
page, and prompt the user to fill out a second form for additional items; OR
2) Automatically have the app insert a break between the item in the last
row of the table and the next table row on the next page, but ALSO make sure
that the shipping address and other info is ALSO printed on each subsequent
page.
I favor the second method, since it is less hassle for the user, and it
would be easier to just insert a break in the table than to try to guess how
many characters a user might enter onto the page (virtually impossible to
determine how many pages they will need).
After searching the archives, I found the snippet I thought would work:
<TABLE STYLE="page-break-before:always">. I tried this in both the body tag
and in my table tag, but each time I used it I got the dreaded blue screen
o' death. I then found and tried a variation: <TABLE
STYLE="page-break-inside:avoid>. This fixed the blue screen problem, but it
locked up my PC (couldn't even CTRL/ALT/DEL).
I am using Netscape, since most of our employees use it, but I need
something that will work in both Netscape and IE.
Sooooo...my question is twofold.
1) Does anyone know of a way to make the table print nicely across pages
without crashing the PC, and
2) Does anyone know how I can force the address/shipping info from the first
page onto all subsequent pages (more important than the first issue, since
regardless of the page break, the table will always print to the next page,
it just won't look as nice without the break.)
As always, thanks for the help!
Terri
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists