PDA

View Full Version : Blank spaces above and below


imported_JakeC
12-04-2002, 11:06 PM
Can anyone please tell me what is causing the gaps on the top and the bottom of these pages? These are not the only ones that it is happening to but it is not happening on the forum home, user cp, or threads. It seems to be happening the worst on error messages, but it is not limited to the error messages. When I view the source of the page, the body tag is showing left, right top and bottom margins are set to 0. This is the only thing I can think of to check (rank newbie). Thanks in advance.

JakeC


https://vborg.vbsupport.ru/external/2002/12/3.gif

https://vborg.vbsupport.ru/external/2002/12/4.gif

Brad
12-04-2002, 11:14 PM
Post your header and footer templates. :)

imported_JakeC
12-05-2002, 12:05 AM
Here are the header and footer templates. Could they be a problem even if everything is fine on the forum home and some other pages?

Header:


<table cellpadding="0" cellspacing="0" border="0" width="100%" height="100%">
<td>

<!--logo and buttons-->

<table background="images/header_back.jpg" cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td width="108" height="110"><img src="images/wrench.jpg" height="110" width="108" border="0">
</td>

<td height="110" width="135"><img src="images/wrench_text.jpg" height="110" width="135" border="0">
</td>

<td align="right" valign="top" width="100%">

[[($bbuserinfo[usergroupid]==1)]]

<table width="227" height="33" background="images/login.jpg" border="0" cellpadding="2" cellspacing="0">
<tr>
<td>
<form action="http://www.homebuiltairplanes.com/forums/member.php" method="post"><td valign="top" align="right" height="33"><input type="hidden" name="s" value="$session[sessionhash]">
<input type="hidden" name="action" value="login">
<input type="text" class="bginput" name="username" size="7">
<input type="password" class="bginput" name="password" size="7">
<input type="submit" class="bginput" value="Login!"></td></form>
</td>
</tr>
</table>

[[/($bbuserinfo[usergroupid]==1)]]


[[($bbuserinfo[usergroupid]>1)]]
<table width="106" height="27" background="images/logout.jpg" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="33">&nbsp</td>
<td valign="top">
<a href="http://www.homebuiltairplanes.com/forums/member.php?s=$session[sessionhash]&action=logout"><font color="FFFFFF" face="verdana" pointsize="8"><B>log out</B></font></a>
</td>
</tr>
</table>
[[/($bbuserinfo[usergroupid]>1)]]

</td>
</tr>

<tr>
<td colspan="4">
<table cellpadding="0" cellspacing="0" border="0" height="15">
<tr>
<td><a href="http://www.homebuiltairplanes.com/forums/index.php?"><img src="images/home_button.gif" height="17" width="55" border="0"></a></td>
<td><a href="http://www.homebuiltairplanes.com/forums/register.php?action=signup"><img src="images/register_button.gif" height="17" width="67" border="0"></a></td>
<td><a href="http://www.homebuiltairplanes.com/forums/misc.php?action=faq"><img src="images/faq_button.gif" height="17" width="48" border="0"></a></td>
<td><a href="http://www.homebuiltairplanes.com/forums/usercp.php?"><img src="images/usercp_button.gif" height="17" width="66" border="0"></a></td>
<td><a href="http://www.homebuiltairplanes.com/forums/showthread.php?threadid=4"><img src="images/rules_button.gif" height="17" width="51" border="0"></a></td>
<td><a href="http://www.homebuiltairplanes.com/forums/memberlist.php?"><img src="images/members_button.gif" height="17" width="75" border="0"></a></td>
<td><a href="http://www.homebuiltairplanes.com/forums/search.php?"><img src="images/search_button.gif" height="17" width="59" border="0"></a></td>
<td><a href="http://www.homebuiltairplanes.com/forums/links.php"><img src="images/links_button.gif" width="60" height="17" border="0"></a></td>

<td><a href="http://www.homebuiltairplanes.com/photopost/"><img src="images/photos_button.gif" width="60" height="17" border="0"></a></td>
</tr>
</table>

</td>
</tr>
</table>
<!--/logo and buttons-->

<!-- content table -->

<table bgcolor=""#FFFFFF" background="images/mainbg.gif"" width="100%" cellpadding="15" cellspacing="0" border="0">
<tr>
<td align="center">

<table width="100%" cellspacing="0" cellpadding="0" bgcolor="#8AB7E0" border="0">
<tr>
<td width="10" height="10"><img src="images/upper_left.gif" border="0"></td>
<td background="images/top.gif"></td>
<td width="10" height="10"><img src="images/upper_right.gif"></td></tr>
<tr>
<td background="images/left.gif">&nbsp</td>
<td>


Footer:



<p align="center">
<normalfont><b>&lt; <a href="$contactuslink">Contact Us</a> - <a href="$homeurl">$hometitle</a>
<!-- - <a href="$privacyurl">Privacy Statement</a> -->
&gt;</b></normalfont>
</p>

<p align="center"><smallfont>
<!-- Do not remove this copyright notice -->
Powered by: vBulletin Version $templateversion<br>
Copyright &copy;2000 - 2002, Jelsoft Enterprises Limited.<br>
<!-- Do not remove this copyright notice -->
$copyrighttext
</smallfont></p>
</td>

<td background="images/right.gif"></td>
<tr>

<td widhth="35" height="35"><img src="images/lower_left.gif"></td>

<td background="images/bottom.gif"></td>

<td widht="35" height="35"><img src="images/lower_right.gif"></td>

</tr>
</table>

</td>
</tr>
</table>

filburt1
12-05-2002, 12:16 AM
<td valign="top"> for the first td tag, others too, possibly.

Tony G
12-05-2002, 03:48 AM
And probably align="bottom" for the footer.

imported_JakeC
12-05-2002, 04:01 PM
Well, the valign="top" worked for the top, but for the life of me I can't get it to work for the bottom. I tried to give the table that holds the content a height of 100%. It worked, however it made it so that when you scrolled down as far as the browser would go, you still could not see the bottom of the page. I am thinking that I will make the background color of the page to match so the gap will not be noticeable, however I can't get away from the feeling that I'm running away from the problem. There has got to be a way [ex]. Is there another template that I should be looking at? I know standarderror shows up on the view source but there doesn't seem to be anything that would affect this problem. Thanks for the help so far. Any other ideas on what I should try?

Brad
12-05-2002, 05:58 PM
I would just match the backround color to it, its not running away from the problem if it works :)

imported_JakeC
12-05-2002, 08:37 PM
Well, I went ahead and matched the color. It's frustrating to me because I know it's something simple, but I just can't seem to see it. I'll be launching the site very soon :D and I don't have the time to fry my brain looking for it any longer. However, if someone has an Idea, please post it. I could sure use the help. Thanks.

JakeC

Tony G
12-06-2002, 03:45 AM
Show me the <td> tag and code around it where you are inserting valign="bottom".