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 / Current Version (Old)
 Extra line space on default.asp?
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

laymanza
Starting Member

5 Posts

Posted - 03 May 2001 :  15:55:33  Show Profile
Does anyone know how to remove the extra line space below the inc_top.asp? You can see it when you browse to default.asp or topic.asp at www.oldcity.com/mb . Very new at this, so thanks for any suggestions!

egemini
Starting Member

Sweden
31 Posts

Posted - 03 May 2001 :  16:30:54  Show Profile  Send egemini an ICQ Message
I think adding an extra </table> at the very bottom of the inc_top.asp should do it.

Do this by editing the file in Notepad. Do not use Frontpage or similar!

Go to Top of Page

laymanza
Starting Member

5 Posts

Posted - 03 May 2001 :  19:01:22  Show Profile
Thanks, I tried this (putting the tag at the very bottom) but this did not work. Is there another place I should put it?

Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 03 May 2001 :  23:38:52  Show Profile
It's in default.asp

Check near the top where the code for the table starts I believe there is a place that inserts a space in there.

Here is a view source of your page:


<body topmargin="0" leftmargin="0" marginwidth="0" marginheight="0">

<table border=0 width="648" cellspacing=0 cellpadding=0 align=center>
<tr>
<td>
&nbsp;&nbsp;
</td>
</tr>
<tr>
<td bgcolor="midnightblue">
<table border=0 width="648" cellspacing=1 cellpadding=4>


The code that is causing the space is in green above
Go to Top of Page

laymanza
Starting Member

5 Posts

Posted - 04 May 2001 :  10:23:59  Show Profile
I deleted the two  's and the strangest thing happens: I cannot login or logout after saving the changes. Also, the login and password boxes disappear.

Go to Top of Page

laymanza
Starting Member

5 Posts

Posted - 04 May 2001 :  10:55:16  Show Profile
I also noticed that the string results:

"There are <% =Posts %> Posts in <% =Topics %> Topics and <% =Users %> Users  "

in default.asp is not showing up in the top row of this table. Then the ASP replaces it with the two spaces..! Has anyone else encountered this problem? Thanks for your help.

Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 04 May 2001 :  11:17:12  Show Profile
If you want to get rid of that space and don't plan on using that one line of statistics:

just remove the section that starts with:

if strShowStatistics <> "1" then


all the way to the:

end if


that is right after where the 2 spaces are.
Go to Top of Page

laymanza
Starting Member

5 Posts

Posted - 04 May 2001 :  17:13:08  Show Profile
I did that and got the following error message:

Microsoft VBScript runtime error '800a01a8'
Object required: ''

/mb/Default.asp, line 86

It did sound like a nice fix however. Thanks.


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.32 seconds. Powered By: Snitz Forums 2000 Version 3.4.07