...

View Full Version : How can i print the document without printing together the image?



mln_ndh
01-18-2012, 06:28 AM
Hi,

I'm using window.print() to print a document.

This is the coding :

<th colspan="2" align="right"><a href="JavaScript:window.print();" onclick="return verify()"><img src="image/image.gif" width="25" height="20" /></a></th>

How can i print the document without printing together the image?

Or is there any other way that you guys know?

Thanks :)

felgall
01-18-2012, 08:39 AM
set up print media CSS to define what should be printed.

You can then change the classes attached to parts of the page to add extra control from javaScript.

mln_ndh
01-19-2012, 10:32 AM
Heyy thanks a lot. My problem solved. Thanks again :thumbsup:



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum