View Full Version : is there a small piece of code to make page print

becky gelke
05-25-2006, 11:34 AM
I am sure there is as I have seen it before, just cant remember where, is there a small piece of code I can place into a page that will create a button that when clicked will print out the page?

05-25-2006, 01:53 PM
This extension will take care of it:
Print Cross Browser.
A behavior which allows the printing of the current page from a link within the document.

05-25-2006, 03:11 PM
Cascading style sheets can be used to format a page for printing differently from the page appearance from a browser. Whether this is needed or not depends on your page design. For example, you might want to only display the page content and not the navigation bar.

05-25-2006, 03:16 PM
True, but CSS can't be used to generate a 'print this page' link on a webpage.

becky gelke
05-26-2006, 01:08 AM
Thanks guys, much appreciated as ever :D