I use max table width of 670 with similar success.
The advantage of this in addition to printing is that 670 pixel width
displays well on any size screen.
On 640x480 the user has to scroll the screen right to see everything. On
800x640 the total available screen width is used effectively. On higher
resolution screens the used area is still restricted to the 670 pixel
center portion of the screen.
When printing, the 670 pixels will fit on a portrait page well (680 is to
big). 650 pixel table widths will also work fine, but you can get 20 more
pixels with the 670 setting.
Vertical paginated control of printed pages is a completely different
issue. There I am using PDF files -- created and displayed in the browser
via an application button -- not the browsers print button. Alternatively
one can use CFEXECUTE to run Access or FoxPro report writer on the server
and print to a PDF file which is then displayed in the browser and printed
accordingly (the latter requires the CF administrator permission to run
CFEXECUTE, which is unlikely on hosted shared servers).
Don't you just love the fact that these hot-shot tool developers provide us
poor little application developers with these half-baked tools.
^
/ \__
( @\___
/ O
/ (_____/
/_____/
Whoof...
410-757-3487
-----Original Message-----
From: Michael Lugassy [SMTP:[EMAIL PROTECTED]]
Sent: Tuesday, April 17, 2001 11:55 AM
To: CF-Talk
Subject: Re: Creating Page Breaks to make page printable?
If you mean a printable version for every page (just
like we did on:
http://www.imvamp.com/support/documentation/player/monitor/index.html
(click on: printable version)
you should use a table code that will break the line
at about 650 pixels width
just specify
table width=650
and on every td specify td width=650
this will break lines automaticlly at the end of the words with no need to
use <BR> or special wrapping techniques.
just keep the table below 650pixels!
and make a clean page. people like it!
Thanks,
Michael Lugassy
Interactive Music Ltd.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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