This is for internal use, so controlling the browser isn't a problem. I can't page break before every table. Some tables will have 2 rows and others will have 20 rows. I'd end up with 100's of pages.
I want the page break to happen before the table only if the table will spill over to the next page. Thanks for the info. -Brad > -----Original Message----- > From: Lawrence B. Afrin, M.D. [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 09, 2002 2:16 PM > To: CF-Talk > Subject: Re: SOT: page breaks > > > Short answer? You can't. In fact, as my own quest for an answer to this > problem revealed a few weeks ago, though you're on the right > track with the > page-break-inside: avoid directive, there are few browsers out there that > recognize it, and no browsers that actually implement it correctly > (including the latest from Netscape and Opera). > > Your best alternative may be to put a page-break-before:always directive > before you launch into your table, so your table always starts at the top > of the printed page. > > -- LBA > > --On Tuesday, July 09, 2002 1:00 PM -0400 Brad Roberts <[EMAIL PROTECTED]> > wrote: > > > Anyone know how I can avoid page breaks within a table? The following > > isn't working: > > > > <cfoutput query="qTest"> > > <table style="page-break-inside:avoid;"> > > ... > > </table> > > </cfoutput> > > > > > ______________________________________________________________________ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

