So each course is a separate table.  You can usually get several
courses/tables per page, but you want the last table on a page to move
entire to the next page if it's going to break.  Yes?

Have you tried the "page-break-inside:avoid;"?  What does it do?

It looks like you might could use "orphans: #" where # is more than the
number of lines in any table, but browser support seems to be iffy.



> -----Original Message-----
> From: Dan Stein [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, March 12, 2003 2:42 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Witango-Talk: [OT] JS or CSS Orphan no printing
> 
> 
> The table won't be too long to fit on one page. I don't want 
> a different page for each course. Most times I can fit 4 or 5 
> courses on a page but what I would like is if the last course 
> does not fit it moves to the next page starts printing that 
> course from there.
> 
> Dan
> -- 
> 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: "Wilcox, Jamileh" <[EMAIL PROTECTED]>
> > Reply-To: [EMAIL PROTECTED]
> > Date: Wed, 12 Mar 2003 14:36:42 -0600
> > To: <[EMAIL PROTECTED]>
> > Subject: RE: Witango-Talk: [OT] JS or CSS Orphan no printing
> > 
> >> 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
> > 
> 
> ______________________________________________________________
> __________
> 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

Reply via email to