Originally posted by Srini Nivas:
Thanks....I will try writing a new JSP......I have to remove the header and some gif's from my original JSP, also the sortable links in the tables for my printer friendly version. I am not sure how to use style sheets for that.....!!!
If that's all you want to do then I think
you should definitely use the CSS method. If your HTML is littered with <font> tags and other layout controls, then you should really rewrite it to use CSS anyway. Here's the piece of my CSS that controls the print format:
This says that elements like <TH class="links"> etc. will not appear in printed versions of the page. But follow the link that Satou provided (and links from that page as well) for details.