Posted by Chris on 07/16/06 13:49
It doesn't seem to print properly when I have it in screen mode. Also I just
think people get it more when they press a button and the screen goes into a
printer friendly page. It's like they can be sure of what they are getting
before they press print. Maybe it's just me but the amount of times I have
seen annoyed users who go to print and don't get what they want.
"Bernhard Sturm" <sturmnixspam@datacomm.ch> wrote in message
news:e9df0f$rar$1@nntp.aioe.org...
> Chris wrote:
>> I want to have a printer friendly page. My code is all css based so
>> changing the media type to 'print' in the style definition does what I
>> want. So I would like JS that changes:
>>
>> <link rel="stylesheet" href="Footer.css" media="screen" />
>>
>> to
>>
>> <link rel="stylesheet" href="Footer.css" media="print" />
>>
>
> why would you want such a thing?
> if your code is css-based, why not including the @media print {} in your
> style-sheet(s)? using JS to switch between media-types seems a bit odd
> (IMO).
> media-type 'screen' is for screen, print will only be used for print as
> being used by the users UA. so don't break the users UA :-)
>
> bernhard
>
> --
> www.daszeichen.ch
> remove nixspam to reply
Navigation:
[Reply to this message]
|