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