PDA


View Full Version : space above the footer


s1zzle
05-26-2005, 09:13 PM
i cant seem to get rid of this space just above my footer
its not in the footer file, when i delete out the footer it is still in there

here is my adv_portal code

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<title>$vboptions[hometitle] <if condition="$pagetitle">- $pagetitle</if></title>

$headinclude

</head>
<body>

$header

<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td height="5"><img src="clear.gif" height="5"></td>
</tr>
</table>

$navbar

<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td height="5"><img src="clear.gif" height="5"></td>
</tr>
</table>

<table align="center" class="page" cellspacing="0" cellpadding="0" border="0" width="100%">
<tr valign="top">


<if condition="$show['left_column']">

<td width="$vba_options[portal_leftcolwidth]">

$home[leftblocks]

</td>

<!-- Spacer Cell -->
<td width="$vba_options[portal_colspacing]"><img alt="" src="$vboptions[bburl]/$vboptions[cleargifurl]" width="$vba_options[portal_colspacing]" /></td>
<!-- / Spacer Cell -->

</if>

<if condition="$show['center_column']">
<td valign="top">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top"><embed src="http://www.scionexpo.com/swf/machan_logo.swf" type=application/x-shockwave-flash width="585" height="297"></embed>
</td></tr>
<tr>
<td valign="top" height="5"><img src="images/clear.gif" height="5"</td>
</tr>
<tr>
<td valign="top">$home[centerblocks]</td>
</tr>
</table>
</if>


<if condition="$show['right_column']">

<!-- Spacer Cell -->
<td width="$vba_options[portal_colspacing]"><img alt="" src="$vboptions[bburl]/$vboptions[cleargifurl]" width="$vba_options[portal_colspacing]" /></td>
<!-- / Spacer Cell -->

<td valign="top" width="$vba_options[portal_rightcolwidth]">

$home[rightblocks]

</td>
</if>
</tr>
</table>
$footer
</body>
</html>

mholtum
05-26-2005, 09:17 PM
I believe it is a clear gif.. Look for the code.

Brian
05-26-2005, 10:08 PM
That's probably caused by the <br /> tag at the bottom of your module templates.

s1zzle
05-26-2005, 10:24 PM
its one of the front page modules i think, if i just set the calendar and the welcome back box in the left column the spacing is fine but if i remove the welcome back box and add the quick moderation box under the calender the spacing problem happens

about to search all the modules

s1zzle
05-26-2005, 10:39 PM
no <br /> at the end of the modules, very weird

Brian
05-26-2005, 11:34 PM
There is a <br /> tag at the end of the template for every module.

s1zzle
05-27-2005, 11:27 AM
bah, i see the problem
i was in the modules folder editing the php files
i just saw the ones in the admin section and found the <br />



thanks for your help

macgyver24
06-26-2005, 02:57 AM
Hello

I have a similar problem except the whole bottom of my portal is thrown off. My portal here http://www.rideordieboyz.com/forum/index.php? and the forum here http://www.rideordieboyz.com/forum/forums.php the bottom layout/footer is not solid it breaks twice it doesn't do this in the forum.

Thank you.

FightRice
06-26-2005, 04:08 AM
Try removing this line of code near the end


<!-- Spacer Cell -->
<td width="$vba_options[portal_colspacing]"><img alt="" src="$vboptions[bburl]/$vboptions[cleargifurl]" width="$vba_options[portal_colspacing]" /></td>
<!-- / Spacer Cell -->


Let me know if it works

macgyver24
06-26-2005, 01:33 PM
I did that and still no dice. Thank you for for your help maybe their is something else I can do ?

Not sure if this helps but the bottom of the forum and the portal if you look at the very bottom the portal expands wider than the forum it doesn't hold it's shape or format.

Brian
06-29-2005, 07:24 PM
My guess would be that you have an extra </table> tag in one of your modules. I'd suggest turning them off one by one until you find the one that's causing the problem.

macgyver24
06-30-2005, 01:56 PM
</tr>
</table> <--------- Removed (Did nothing)

$footer <--------- Removed (Makes it look cleaner)

</body>
</html>

Ok I have removed $footer from the adv_portal and the gap remains turning off all modules did not help their is a break some where in the script unfortunately I'm not a programmer I can read it edit it but I don't know enough to begin searching so I'm at the mercy of this forum.

PS: The footer will be put back so before anyone starts bashing me

Brian
06-30-2005, 09:22 PM
Try turning your weather module off and see if that takes care of the problem. If so, you'll either need to clean up the code in the template for that module, or you may be able to just set the 'Use Module Shell' option off.

macgyver24
07-01-2005, 03:15 AM
I know you already knew that would work I know you did ...... thank you for time and for your help it is appreciated very much. One more question being how your an admin can I move the powered by lower or does it have to stay where it is.

Again thank you for your time! and help.

Brian
07-01-2005, 10:54 AM
As long as the copyright notice is clearly visible then it may be moved to wherever you would like on the page.