rujul
02-03-2005, 09:58 AM
I want to print a perticular portion of the page
i mean only a table from the whole page how can i??
i mean only a table from the whole page how can i??
|
||||
Print in Javascriptrujul 02-03-2005, 09:58 AM I want to print a perticular portion of the page i mean only a table from the whole page how can i?? jbot 02-03-2005, 11:08 AM just use CSS print styles to hide the portions of the page you don't want printed. there's no need for JS at all. glenmac 02-03-2005, 11:30 AM <html><head> <style media="print"> .noPrint {display:none;} </style> </head> <body> <p> will print this</p> <p class = "noPrint"> won't print this or anything else with this class</p> <a href = "#" class = "noPrint" onclick = "javascipt:print()">Print this</a> </body> </html> Hope this helps |
| |||
EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum