I see, sorry for the confusion.


If it were me I might try "getting old school" on this problem.  Use a
non-proportional font, and get out my data-processing ruler that measures in
picas and points and then try to limit how many characters occur across the
page.


I was having the same problem on the reports I learned the printed CSS stuff
for.  My ultimate solution was to limit the table widths and use a smaller
font.


Good luck.


-Nate


-----Original Message-----
From: Scott Brady [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 08, 2004 1:36 PM
To: CF-Talk
Subject: RE: Breaking up table for printing (long)

Original Message:
> From: "Nathan C. Smith"
> Check out the style sheet (CSS) extensions for printing.  They helped me
> format a document for page breaks and such.
>
> <table style="page-break-inside:avoid;page-break-before" >
>
> The above, as you can guess causes the table not to be broen where
possible
> and causes a page-break before the able is printed.

If I'm reading the spec right, this isn't quite what I am looking for.

What I probably didn't make clear was that in this example:
(Example #2)
PANEL 1     DATE1     DATE2     DATE3
Test1       result1   result2   result3
Test2       result6   result7   result8
Test3       result11  result12  result13
Test4       result16  result17  result18

PANEL 1     DATE4     DATE5
Test1       result4    result5
Test2       result9    result10
Test3       result14   result15
Test4       result19   result20

PANEL 2     DATE1     DATE2     DATE3
Test5       result21  result22  result23
Test6       result26  result27  result28
Test7       result31  result32  result33
Test8       result36  result37  result38

PANEL 2     DATE4     DATE5
Test5       result24  result25
Test6       result29  result30
Test7       result34  result35
Test8       result39  result40

those are all on one page.  (If I left it so that all 5 date columns were in
the same "row", it would spill out onto a page to the right -- something we
want to avoid).  "Vertical" page breaks are ok (and I already have code to
handle that), but we want the layout on a page to look like the above so
that we don't have "horizontal" page breaks.

Does that make any more sense?  (I've struggled with this for a while, so I
know it's hard to explain clearly.)

Scott

---------------------------
Scott Brady
http://www.scottbrady.net/
  _____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to