this works, (in MSIE anyway)

<LINK REL="stylesheet" TYPE="text/css" HREF="style.css" MEDIA="SCREEN">
<LINK REL="stylesheet" TYPE="text/css" HREF="style_print.css"
MEDIA="PRINT">

"Carlisle, Eric" wrote:
> 
> Believe me, I'd prefer to draw print friendly versions from a DB, but
> much
> of the site is simple HTML. :)
> 
> I see what you saying about toggling the visibility.
> I was thinking of using 2 stylesheets one for display, one for print).
> In
> the display stylesheet, I would have that display class visible.  In
> the
> print stylesheet, I would have it set for invisible.  Any idea if that
> would
> work?
> 
>         thanks :)
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Monday, January 14, 2002 12:50 PM
> To: CF-Talk
> Subject: Re: OT: Using CSS to make pretty printouts
> 
> if you are pulling ur content from a DB whynot just make a pretty print
> 
> template?
> 
> but to answer your question, yes, sort of.
> 
> you would only really only be able to control the visibility of the men
> u
> <DIV> if the user executed the print command from the page.  That way
> , you
> could capture and event, call an event handler and use it to set the <D
> IV>
> to invisible,  and from within that event handler call the print() meth
> od
> of the document object.
> 
> but if i were to hit [CTRL]+P that would negate that whole thing.
> 
> "Carlisle, Eric" <[EMAIL PROTECTED]> on 01/14/2002 11:43:05
>  AM
> 
> Please respond to [EMAIL PROTECTED]
> 
> To:   CF-Talk <[EMAIL PROTECTED]>
> cc:
> 
> Subject:  OT: Using CSS to make pretty printouts
> 
> I'm working with a web site that doesn't print well.  This happens be
> cause:
> 
> 1) The top navigational bar (runs horizontal - all graphical) is too wi
> de
> to
> fit on a 8.5 inch wide paper.
> 2) The left navigation steals prime real estate away from the display a
> rea.
> 
> I've been charged with the task of making the site print well.  Can I
>  use
> CSS classes to toggle the visibility of a <div> on a print out (so I ca
> n
> omit some items on a printout)?
> 
> If not, any other suggestions would be appreciated!
> 
>      Thanks :)
> 
> 
______________________________________________________________________
Why Share?
  Dedicated Win 2000 Server � PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to