Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 12-04-2002, 11:06 PM
imported_JakeC imported_JakeC is offline
 
Join Date: Jul 2002
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Blank spaces above and below

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




Reply With Quote
  #2  
Old 12-04-2002, 11:14 PM
Brad Brad is offline
 
Join Date: Nov 2001
Posts: 4,765
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Post your header and footer templates.
Reply With Quote
  #3  
Old 12-05-2002, 12:05 AM
imported_JakeC imported_JakeC is offline
 
Join Date: Jul 2002
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:

Quote:
<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:

Quote:

<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>
Reply With Quote
  #4  
Old 12-05-2002, 12:16 AM
filburt1 filburt1 is offline
 
Join Date: Feb 2002
Location: Maryland, US
Posts: 6,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<td valign="top"> for the first td tag, others too, possibly.
Reply With Quote
  #5  
Old 12-05-2002, 03:48 AM
Tony G's Avatar
Tony G Tony G is offline
 
Join Date: Nov 2001
Location: Melbourne, Australia
Posts: 8,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

And probably align="bottom" for the footer.
Reply With Quote
  #6  
Old 12-05-2002, 04:01 PM
imported_JakeC imported_JakeC is offline
 
Join Date: Jul 2002
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #7  
Old 12-05-2002, 05:58 PM
Brad Brad is offline
 
Join Date: Nov 2001
Posts: 4,765
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would just match the backround color to it, its not running away from the problem if it works
Reply With Quote
  #8  
Old 12-05-2002, 08:37 PM
imported_JakeC imported_JakeC is offline
 
Join Date: Jul 2002
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 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
Reply With Quote
  #9  
Old 12-06-2002, 03:45 AM
Tony G's Avatar
Tony G Tony G is offline
 
Join Date: Nov 2001
Location: Melbourne, Australia
Posts: 8,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Show me the <td> tag and code around it where you are inserting valign="bottom".
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 06:42 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05100 seconds
  • Memory Usage 2,250KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete