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: General / Classic ASP versions(v3.4.XX)
 Marginheight and margin width body tags
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Art Fyvolent
Starting Member

USA
3 Posts

Posted - 24 January 2006 :  11:55:59  Show Profile  Visit Art Fyvolent's Homepage
I'd like to change the body tags to MARGINHEIGHT=0 MARGINWIDTH=0 LEFTMARGIN=0 TOPMARGIN=0 - which file do I access to change that?

dayve
Forum Moderator

USA
5820 Posts

Posted - 24 January 2006 :  12:26:41  Show Profile  Visit dayve's Homepage
you will find the body tag in the inc_header.asp file.

Go to Top of Page

Art Fyvolent
Starting Member

USA
3 Posts

Posted - 24 January 2006 :  14:29:12  Show Profile  Visit Art Fyvolent's Homepage
Dayve, Thanks, I found that. I made the change like this to the body tag- but it didn't work (can you tell I don't do this for a living...):

FROM:
"<body" & strTmpPageBGImageURL & " bgColor=""" & strPageBGColor & """ text=""" & strDefaultFontColor & """ link=""" & strLinkColor & """ aLink=""" & strActiveLinkColor & """ vLink=""" & strVisitedLinkColor & """>" & vbNewLine & _

TO:
"<body MARGINHEIGHT=0 MARGINWIDTH=0 LEFTMARGIN=0 TOPMARGIN=0" & strTmpPageBGImageURL & " bgColor=""" & strPageBGColor & """ text=""" & strDefaultFontColor & """ link=""" & strLinkColor & """ aLink=""" & strActiveLinkColor & """ vLink=""" & strVisitedLinkColor & """>" & vbNewLine & _

now what? LOL! thanks for your help
Go to Top of Page

laser
Advanced Member

Australia
3859 Posts

Posted - 24 January 2006 :  15:06:24  Show Profile
How many <body tags did you find in inc_header.asp ?
Go to Top of Page

Art Fyvolent
Starting Member

USA
3 Posts

Posted - 24 January 2006 :  16:15:09  Show Profile  Visit Art Fyvolent's Homepage
just one - but I wasn't sure how to modify the existing code to include the marginheight stuff -
This is the original code:

"<body" & strTmpPageBGImageURL & " bgColor=""" & strPageBGColor & """ text=""" & strDefaultFontColor & """ link=""" & strLinkColor & """ aLink=""" & strActiveLinkColor & """ vLink=""" & strVisitedLinkColor & """>" & vbNewLine & _

how do I change it to include: MARGINHEIGHT=0 MARGINWIDTH=0 LEFTMARGIN=0 TOPMARGIN=0
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 24 January 2006 :  16:27:48  Show Profile  Visit AnonJr's Homepage
There should be a second body tag in inc_header.asp. I don't have a "clean" version of the forum to get the exact numbers, but a quick search with your editor should find it.

Oh, before I forget: while your syntax will work, if you want to be anal about proper coding...

Change:
"<body MARGINHEIGHT=0 MARGINWIDTH=0 LEFTMARGIN=0 TOPMARGIN=0" & strTmpPageBGImageURL & " bgColor=""" & strPageBGColor & """ text=""" & strDefaultFontColor & """ link=""" & strLinkColor & """ aLink=""" & strActiveLinkColor & """ vLink=""" & strVisitedLinkColor & """>" & vbNewLine & _

To:
"<body margineheight=""0"" marginwidth=""0"" leftmargin=""0"" topmargin=""0""" & strTmpPageBGImageURL & " bgColor=""" & strPageBGColor & """ text=""" & strDefaultFontColor & """ link=""" & strLinkColor & """ aLink=""" & strActiveLinkColor & """ vLink=""" & strVisitedLinkColor & """>" & vbNewLine & _

(or use css )

Edited by - AnonJr on 24 January 2006 16:33:29
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 0.87 seconds. Powered By: Snitz Forums 2000 Version 3.4.07