|
Posted by Jukka K. Korpela on 06/13/05 19:17
"KiwiBrian" <briantoz@ihug.co.nz> wrote:
> I want to make an html page for a friend who wants it to print at a
> specific width on her printer.
Create the page so that it adapts to the available width, whatever it
is.
> It does not need to be put online, or print on any other PC setup.
It's still simplest to design it as if you were designing it for the
Web. Abandon this idea only when it has been _proven_ impossible or
suboptimal. Don't assume anything you don't need to assume.
> It will use a table to contain the content which is predominantly
> tabular.
Fine. Write a table without any attempt at controlling the appearance,
check (in Print Preview) how it looks like on printing, and ask your
friend to do the same. _Then_ you may observe something you would like
to affect. You cannot know, at this point, and still less can we.
> How do I define the width of the table, and limit the
> content, so that it will print as she wants within the printer
> page?
You don't.
Of course you want to make the best possible use of the entire
available width. Browsers generally do this better than you, except in
special circumstances. Note that the width depends on the printer _and_
its settings, especially margin settings, which may vary. This is yet
another reason _not_ to set widths.
--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html
Navigation:
[Reply to this message]
|