View Full Version : print fuction
GUIDO
08-19-2005, 05:11 PM
Hello people. i need a help, i nedd a JS that lem print just a part of a HTM page, i`ve downloaded these days a JS here but it let me print all of the page and i need to print just a littel table tha`s in the HTM. does someone please can help me??
hugs from Brazil :confused:
jscheuer1
08-20-2005, 03:53 AM
This is easier to do with style. Make a separate style sheet called say, print.css and link it to your page in the head with:
<link rel="stylesheet" type"text/css" href="print.css" media="print">Then, in print.css set everything except what you want printed to:
display:none;See:
Print Different (http://www.meyerweb.com/eric/articles/webrev/200001.html)
for more information, or just Google:
media print css
Also, check here:
http://www.dynamicdrive.com/dynamicindex9/printstyle.htm
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.