Possible Duplicate:
How do I hide an element when printing a web page?
i am using below code for the print-- but if printing the full page. what do I have to do to print the limited area of the page (below the print button area)?
<SCRIPT LANGUAGE="JavaScript">
if (window.print) {
document.write('<form><input type=button name=print value="Print Page"onClick="window.print()"></form>');
}
</script>
The above script is working fine but for only the whole page.