Several things are needed:
1.  Specify the media type for print, including the page attributes
2.  Have the appfile specify the appropriate CSS2 styles when building 
the table
3.  Have the appfile determine the page-breaks.  The easiest logic flow 
is pagebreak, table title, header row, n data rows, page break, repeat to 
end of data.
 

>From that, it looks like you should use
>
><TABLE STYLE="page-break-inside:avoid;"> 
>
>and it should do what you want.  You might combine it with Scott's
>suggestion to start each table on a new page:
>
><TABLE STYLE="page-break-before:always;page-break-inside:avoid;">.
>
>
>It looks like there are still some situations where a table may break
>across pages, though.
>
>What do you expect it to do when a table is too long to fit on one page?
>
>j
>
>
>> -----Original Message-----
>> From: Dan Stein [mailto:[EMAIL PROTECTED] 
>> Sent: Wednesday, March 12, 2003 2:16 PM
>> To: [EMAIL PROTECTED]
>> Subject: Re: Witango-Talk: [OT] JS or CSS Orphan no printing
>> 
>> 
>> This looks like what I need. But I don't think I really 
>> understand it. ( so much to learn so little time) 
>> <http://www.w3.org/TR/REC-CSS2/page.html#break-inside>
>> -- 
>> Dan Stein
>> Digital Software Solutions
>> 799 Evergreen Circle
>> Telford PA 18969
>> Land: 215-799-0192
>> Mobile: 610-256-2843
>> Fax 413-410-9682
>> FMP, WiTango, EDI,SQL 2000
>> [EMAIL PROTECTED]
>> www.dss-db.com
>> 
>> 
>> > From: "Atrix Wolfe" <[EMAIL PROTECTED]>
>> > Reply-To: [EMAIL PROTECTED]
>> > Date: Wed, 12 Mar 2003 12:12:20 -0800
>> > To: <[EMAIL PROTECTED]>
>> > Subject: Re: Witango-Talk: [OT] JS or CSS Orphan no printing
>> > 
>> > ah actualy it wasnt <th> that did this, it was using thead. 
>>  Check out 
>> > this
>> > link:
>> > http://www.designf1.webcentral.com.au/tutorials/table004.html
>> > 
>> > when it has to do a page break, it will reprint the <thead> section.
>> > 
>> > 
>> > 
>> > ----- Original Message -----
>> > From: "Atrix Wolfe" <[EMAIL PROTECTED]>
>> > To: <[EMAIL PROTECTED]>
>> > Sent: Wednesday, March 12, 2003 12:07 PM
>> > Subject: Re: Witango-Talk: [OT] JS or CSS Orphan no printing
>> > 
>> > 
>> >> i read somewhere that if you use <th></th> (Table Header), that it 
>> >> will do this very thing.  You use <th> like you use <td>:
>> >> 
>> >> <table border=1>
>> >> <tr>
>> >> <th>Odd</th>
>> >> <th>Even</th>
>> >> </tr>
>> >> <tr>
>> >> <td>1</td>
>> >> <td>2</td>
>> >> </tr>
>> >> <tr>
>> >> <td>3</td>
>> >> <td>4</td>
>> >> </tr>
>> >> <td>
>> >> 
>> >> Just cause i read it doesnt mean it works, i sure hope it does 
>> >> though.  I dont have a printer so cant test, sorry.
>> >> 
>> >> ----- Original Message -----
>> >> From: "Dan Stein" <[EMAIL PROTECTED]>
>> >> To: <[EMAIL PROTECTED]>
>> >> Sent: Wednesday, March 12, 2003 11:39 AM
>> >> Subject: Witango-Talk: [OT] JS or CSS Orphan no printing
>> >> 
>> >> 
>> >>> I want to be able to print a list of courses but want the 
>> pages not 
>> >>> to
>> >> break
>> >>> across a table.
>> >>> 
>> >>> It looks like with CSS2 their should be some way to deal 
>> with this 
>> >>> but I can't figure it out.
>> >>> 
>> >>> 
>> >>> --
>> >>> Dan Stein
>> >>> Digital Software Solutions
>> >>> 799 Evergreen Circle
>> >>> Telford PA 18969
>> >>> Land: 215-799-0192
>> >>> Mobile: 610-256-2843
>> >>> Fax 413-410-9682
>> >>> FMP, WiTango, EDI,SQL 2000
>> >>> [EMAIL PROTECTED]
>> >>> www.dss-db.com
>> >>> 
>> >>> 
>> >>> 
>> ____________________________________________________________________
>> >>> ____
>> >>> TO UNSUBSCRIBE: send a plain text/US ASCII email to 
>> [EMAIL PROTECTED]
>> >>>                 with unsubscribe witango-talk in the message body
>> >>> 
>> >> 
>> >> 
>> _____________________________________________________________________
>> >> ___
>> >> TO UNSUBSCRIBE: send a plain text/US ASCII email to 
>> [EMAIL PROTECTED]
>> >>                 with unsubscribe witango-talk in the message body
>> > 
>> > 
>> ______________________________________________________________________
>> > __
>> > TO UNSUBSCRIBE: send a plain text/US ASCII email to 
>> [EMAIL PROTECTED]
>> >               with unsubscribe witango-talk in the message body
>> > 
>> 
>> ______________________________________________________________
>> __________
>> TO UNSUBSCRIBE: send a plain text/US ASCII email to 
>> [EMAIL PROTECTED]
>>                 with unsubscribe witango-talk in the message body
>> 
>
>________________________________________________________________________
>TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
>                with unsubscribe witango-talk in the message body
>


Bill Conlon

To the Point
345 California Avenue Suite 2
Palo Alto, CA 94306

office: 650.327.2175
fax:    650.329.8335
mobile: 650.906.9929
e-mail: mailto:[EMAIL PROTECTED]
web:    http://www.tothept.com


________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
                with unsubscribe witango-talk in the message body

Reply via email to