Re: NN 4 4.08 Printing problem

by "Martin Clifford" <MLC1(at)nrc.gov>

 Date:  Fri, 21 Jun 2002 12:51:25 -0400
 To:  <adrian(at)gn.apc.org>,
<hwg-techniques(at)hwg.org>
  todo: View Thread, Original
You can use the media type for stylesheets to define how the page should =
look when printed.

Say, for example, you're using a black background with white text.  =
Obviously you don't want a printer to waste all that ink, so you would =
take this:

<style type=3D"text/css">
<!--
p {background-color: black; color: white;}
//-->
</style>

and make this, in the same page:

<style type=3D"text/css" media=3D"print">
<!--
p {background-color: white; color: black;}
//-->
</style>

That way, when it's printed it uses separate style sheets to define how it =
should be printed.  You can control many things this way, one of the most =
important being margins and page widths.

HTH

Martin

>>> Adrian Harris <adrian(at)gn.apc.org> 06/21/02 12:16PM >>>
Hi,
I'm working on a site, and have it looking fine in a range of browsers. My
problems arise with printing. My client uses NN 4 4.08 with a colour
printer, and is pressing for the site to print just as it looks. I've
explined that, IMO, this is difficult because of the variety of browsers
and printer set-ups.

I now have the index page printing to his satisfaction, but checking the
other pages in the NN 4.08 Print Preview looks grim.
Everything is legible, but the layout isn't preserved:


http://design.gn.apc.org/rla/final/index.htm - OK, though the blue
sections don't quite match

http://design.gn.apc.org/rla/final/award.htm - OK, though the blue
sections don't quite match

http://design.gn.apc.org/rla/final/recip.htm - Looks a mess.

My question really is, am I pursuing the impossible here? The client has a
tight budget, and it isn't huge. I think I need to tell him to live with
what we have, as it isn't worth the extra work to try and perfect it, but
maybe I'm being unreasonable?

Is it fair to say that it's really not possible to get this kind of layout
to print perfectly in every set-up (without using PDF of course)?=20

A solution would be a bonus, but I'm really after opinions as to what can
be done.

TIA!



Best wishes,
Adrian Harris M.A.

Member of the HTML Writers Guild

http://www.hwg.org/=20

GreenNet Design: World Class Web design that won't cost the Earth

http://www.gn.apc.org/design

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA