Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 Changing margins in Printer Friendly Mod
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

tomasalsbro
Average Member

Sweden
818 Posts

Posted - 14 May 2001 :  10:57:10  Show Profile  Visit tomasalsbro's Homepage
Is there a way to change the margins in the Printer Friendly Mod?
Cheers / Tomas

!-Keep distance in traffic-!
www.whiplash.pp.se

work mule
Senior Member

USA
1358 Posts

Posted - 15 May 2001 :  00:54:02  Show Profile
Do you want more or less of a margin?

Inside the body tag, you can use the following and adjust accordingly.

marginwidth="0"
marginheight="0"
leftmargin="0"
rightmargin="0"
topmargin="0"
bottommargin="0"

Go to Top of Page

tomasalsbro
Average Member

Sweden
818 Posts

Posted - 15 May 2001 :  02:33:13  Show Profile  Visit tomasalsbro's Homepage
Hi work mule!
I want more space between the text and the paper ends, i.e. I want more margins.
Tomas

!-Keep distance in traffic-!
www.whiplash.pp.se
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 15 May 2001 :  02:52:50  Show Profile
It should be controlled by your browser settings.

If you are using Internet Explorer.. Goto File and then Page Setup.
Go to Top of Page

work mule
Senior Member

USA
1358 Posts

Posted - 15 May 2001 :  03:30:07  Show Profile
quote:

I want more space between the text and the paper ends, i.e. I want more margins.



Well, like Richard said, this can be controlled by your browser settings, however if you feel that you need to increase the margins to more than the default for all your users, then you'll have to edit the code for that file.

You would need to edit the body tag, which is in the inc_top_short.asp. Seeing as that would affect a lot of stuff, you'd be better off deleting that include statement from the pop_printer_friendly.asp file and replacing it with the contents from the inc_top_short.asp file. Then you would modify the body tag to what you see here and this would give you margins set to 10 all around:

"<BODY bgColor=""" & strPageBGColor & """ text=""" & strDefaultFontColor & """ link=""" & strLinkColor & """ aLink=""" & strActiveLinkColor & """ vLink=""" & strActiveLinkColor & """ onLoad=""window.focus()"" marginwidth=""10"" marginheight=""10"" leftmargin=""10"" rightmargin=""10"" topmargin=""10"" bottommargin=""10"">" & vbCrLf & _

The above would be found at about line 65 in inc_top_short.asp.

I don't really know if it's necessary or not to do this. I think most people have a decent margin setup for their browser. I haven't noticed any complaints about it here.

Go to Top of Page

tomasalsbro
Average Member

Sweden
818 Posts

Posted - 15 May 2001 :  09:55:23  Show Profile  Visit tomasalsbro's Homepage
Well - sometimes I feel like a jerk! Today is such a day!
Of course Richard - why make it hard for you?
The problem is hereby solved!
Tomas

!-Keep distance in traffic-!
www.whiplash.pp.se
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 5.5 seconds. Powered By: Snitz Forums 2000 Version 3.4.07