Hi Use CSS with the media setting on your import of your stylesheet (rel="stylesheet" type="text/css" media="print, screen").
and in your stylesheet define 2 blocks: @MEDIA print and @MEDIA screen where you define your settings. For the stuff that you do not want to show on a printout, add the display: none; attribute. Hermod. -----Original Message----- From: Deepa Khetan [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 04, 2006 1:16 PM To: Struts Users Mailing List Subject: [OT]Printing problem Hi, I am facing a problem. i am having a JSP page which acts as an Acknowledgement screen to users. The users need to take the print out of this screen. I am providing a print button. but what i want is to change the header gif for printing(since it is taking too much space on the page and the end of the gif is getting truncated). Can i do somethig like on click of print button, i create an HTML file by passing the entire data from my JSP and change the gif in this HTMl file? Please tell me where i can find a soution? Deepa * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This email with attachments is solely for the use of the individual or entity to whom it is addressed. Please also be aware that the DnB NOR Group cannot accept any payment orders or other legally binding correspondence with customers as a part of an email. This email message has been virus checked by the virus programs used in the DnB NOR Group. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]