WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-09-2004, 11:21 PM
WebProWorld New Member
 

Join Date: Feb 2004
Posts: 6
rahmatab RepRank 0
Default Printing without header and footer

Hi all...

I'm currently trying to find solution how to print my intranet without header and footer.
__________________
No GuT No GloRy
Reply With Quote
  #2 (permalink)  
Old 06-10-2004, 09:19 AM
WebProWorld New Member
 

Join Date: May 2004
Location: Wales, UK
Posts: 9
welsh_whisper RepRank 0
Default

All you need to do - presuming you are using IE - is choose 'Page Setup...' from the 'File' menu and delete the contents of the Header and Footer fields.
After you print with these settings, they become default. If you want to reset them, enter

&w&bPage &p of &P

into the Header field
and

&u&b&d

into the Footer field.

Hope this helps.
Regards, Matthew
__________________
BROADBAND, anywhere in the UK
Reply With Quote
  #3 (permalink)  
Old 06-10-2004, 09:19 AM
paulhiles's Avatar
WebProWorld 1,000+ Club
 

Join Date: Jul 2003
Location: UK
Posts: 2,803
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
  #4 (permalink)  
Old 06-24-2004, 09:05 PM
WebProWorld New Member
 

Join Date: Feb 2004
Posts: 6
rahmatab RepRank 0
Default thanks

thanks a lot i'll try first
__________________
No GuT No GloRy
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum
Tags: , , ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Search Engine Optimization by vBSEO 3.2.0