that's a good idea, BUT, 1. you have to maintain 2 documents whether html or css 2. how will you know which .css to link? i'm assuming by some kind of user input like clicking on "Printable Version" link or something to that ef fect 3. if you DO do the "Printable version" thing why not just toggle the
visablity as previously mentioned since you're depending on user input to go to another page, or version of the page, anyway? "Carlisle, Eric" <[EMAIL PROTECTED]> on 01/14/2002 11:56:58 AM Please respond to [EMAIL PROTECTED] To: CF-Talk <[EMAIL PROTECTED]> cc: Subject: RE: OT: Using CSS to make pretty printouts 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 tha t would work? thanks :) -----Original Message----- From: [EMAIL PROTECTED] [mailto:savan.thongvanh@seabury com] 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 :) ______________________________________________________________________ Get Your Own Dedicated Windows 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=coldfusionb FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists