iEntry 10th Anniversary Forum Rules Search
WebProWorld
Register FAQ Calendar 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.

Share Thread: & Tags

Share Thread:

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-10-2004, 12:21 AM
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.
Reply With Quote
  #2 (permalink)  
Old 06-10-2004, 10: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
Reply With Quote
  #3 (permalink)  
Old 06-10-2004, 10:19 AM
paulhiles's Avatar
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
  #4 (permalink)  
Old 06-24-2004, 10:05 PM
WebProWorld New Member
 
Join Date: Feb 2004
Posts: 6
rahmatab RepRank 0
Default thanks

thanks a lot i'll try first
Reply With Quote
Reply

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

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

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



All times are GMT -4. The time now is 07:47 PM.



Search Engine Optimization by vBSEO 3.3.0