print specific div
Is there a way to only print a specific div when user clicks the print icon?
Is there a way to only print a specific div when user clicks the print icon?
you can control how a page prints using a print style sheet.
you attach a print stylesheet using the "media="print"" attribute:
<link rel="stylesheet" type="text/css" media="print" href="print.css" />
in the print style sheet, you could set the divs you dont want to print to be hidden using visibility:hidden;
see the following article from a list apart for more details on print css:
goingtoprint/
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.