PDA

View Full Version : cross browser print button specific content



sleipner
03-02-2006, 06:30 PM
I was wondering if the Cross Browser Print Button (http://www.dynamicdrive.com/dynamicindex9/other1.htm) can be set to print only a specified DIV or table cell ID, so obviously the content element of my layout table would need an ID or NAME, but is there a place for it in the script or would it take some modification?

I've already used it on a few pages that I display through iframes (inside the iframe content page), and so it was the first place I looked to print specific IDed elements because I don't want to have to double the number of pages I have to maintain for printer friendly content - why make people waste ink and paper real-estate to print my layout/aesthetics images?

Thanks in advance...

Twey
03-02-2006, 06:35 PM
Use a seperate @media print section in your stylesheet to adjust how your page will look when printed. You can show and hide items using that.