View Single Post
  #3 (permalink)  
Old 06-10-2004, 10:19 AM
paulhiles's Avatar
paulhiles paulhiles is offline
WebProWorld 1,000+ Club
 
Join Date: Jul 2003
Location: UK
Posts: 2,089
paulhiles RepRank 0
Default

If you're using CSS and div block elements it's easy enough to set up a separate stylesheet (print.css) to format your printed pages. In the stylesheet you can then specify which elements you want to be printed and which you would like to hide.
CSS snippet below:

Code:
.contentText {	padding : 0.5cm;
		margin-top : 0.5cm;
		margin-right : 0cm;
		margin-left : 0cm;}
/* This hides all the menus etc so they aren't printed out*/
.header {display:none;}
.footer {display:none;}
Reply With Quote