Help - Search - Members - Calendar
Full Version: print command
HTMLHelp Forums > Web Authoring > Markup (HTML, XHTML, XML)
johnm
Hi

I wish a user to be able to print a webpage if he clicks on a "printer friendly" logo on the page. I have used the code:

<A HREF="java script:window.print()"><img src="logo.gif" alt="" width="121" height="134" /></a>

This brings up the print window and the user can then press print. However all that gets printed is one line at the bottom of the page. What is the correct code to print the page please?

thanks
Darin McGrew
Can you provide the URL (address) of a document that demonstrates the problem?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.