If so, I don't understand how you save the file. Is it a .html file also? I read in one place where you strip the code off the page you want people to be able to print, but I don't then understand how it's retrieved or saved . . .
<head>
<style type="text/css" media="screen">
your view on monitor layout and colors
</style>
<style type="text/css" media="print">
your print to paper layout and colors
</style>
</head>
You can hide all elements on the form which you don't want do be visible in the print version :
document.name_of_form.elem_form.style.visibility= "hidden";
After that you can use window.print();
Originally posted by andrada You can hide all elements on the form which you don't want do be visible in the print version :
document.name_of_form.elem_form.style.visibility= "hidden";
After that you can use window.print();
That solution requires CSS, a DOM and JavaScript turned on in the browser.
Thus it will always be a worse solution then using CSS alone like I showed becuse it's much more likely to fail.
Bookmarks