Log in

View Full Version : how to remove a space under my banner?


Majava
01-10-2007, 09:22 AM
Hi,

ive been racking my brain for an hour, but cant seem to find out how to get rid of the space below my banner. pic below

http://www.battlefieldhq.net/images/banner.JPG

Can anyone help me please?

Thanks

BraindGee
01-10-2007, 09:35 AM
whats the code look like? stick your header code it, it might help.

Majava
01-10-2007, 09:42 AM
<!-- logo -->
<a name="top"></a>

<table width="$stylevar[outertablewidth]" align="center" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="23" align="center" valign="top" style="background-image:url($stylevar[imgdir_misc]/left.gif)"><img src="$stylevar[imgdir_misc]/left.gif" width="23" border="0" alt="" /></td>
<td width="100%">

<table border="0" width="100%" cellpadding="0" cellspacing="0" align="center" class="header_fond">
<tr>
<td align="$stylevar[left]" valign="top" height="131"><a href="$vboptions[forumhome].php?$session[sessionurl]"><img src="images/chestnut/misc/logo.gif" border="0" alt="$vboptions[bbtitle]" /></a>
</td>
<td align="$stylevar[right]">
&nbsp;
<!-- banners -->
</td>
</tr>
</table>
<!-- /logo -->

WhaLberg
01-10-2007, 09:51 AM
<td width="100%">

Is it can be because of the fact that there is not a closing tag </td>? Or try to remove that.

BraindGee
01-10-2007, 09:56 AM
might be cos your banner is 117 px high, and you set table to be 131 high

Majava
01-10-2007, 09:57 AM
im sure there is a closing tag for that, its just i didnt paste all the headercode as i thought the code between <!-- logo -- > would be saficiant. apparantly not, so heres all the headercode.

<!-- logo -->
<a name="top"></a>

<table width="$stylevar[outertablewidth]" align="center" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="23" align="center" valign="top" style="background-image:url($stylevar[imgdir_misc]/left.gif)"><img src="$stylevar[imgdir_misc]/left.gif" width="23" border="0" alt="" /></td>
<td width="100%">

<table border="0" width="100%" cellpadding="0" cellspacing="0" align="center" class="header_fond">
<tr>
<td align="$stylevar[left]" valign="top" height="131"><a href="$vboptions[forumhome].php?$session[sessionurl]"><img src="images/chestnut/misc/logo.gif" border="0" alt="$vboptions[bbtitle]" /></a>
</td>
<td align="$stylevar[right]">
&nbsp;
<!-- banners -->
</td>
</tr>
</table>
<!-- /logo -->


<!-- EFFET ROLLOVER BOUTONS -->
<table width="$stylevar[outertablewidth]" border="0" cellspacing="0" cellpadding="0" align="center" style="background:#FFFFFF url($stylevar[imgdir_misc]/fond_bouton.gif);">
<tr>


<!-- Inscription -->
<if condition="$show['registerbutton']">
<td width="93">
<table width="93" border="0" cellpadding="0" cellspacing="0">
<tr>
<td style="background:#FFFFFF url($stylevar[imgdir_misc]/bouton_inscription.gif);"><a href="$vboptions[bburl]/register.php$session[sessionurl_q]" rel="nofollow"
onmouseover="JSFX.fadeIn('inscription')"
onmouseout="JSFX.fadeOut('inscription')"><img
src="$stylevar[imgdir_misc]/bouton_inscription.gif" name="inscription" width="93" height="40" border="0" class="imgFader" id="inscription" alt="" /></a></td>
</tr>
</table>
</td>
</if>
<!-- /Inscription -->

<!-- Options -->
<if condition="$show['member']">
<td width="93">
<table width="93" border="0" cellpadding="0" cellspacing="0">
<tr>
<td style="background:#FFFFFF url($stylevar[imgdir_misc]/bouton_options.gif);"><a href="$vboptions[bburl]/usercp.php$session[sessionurl_q]" rel="nofollow"
onmouseover="JSFX.fadeIn('options')"
onmouseout="JSFX.fadeOut('options')"><img
src="$stylevar[imgdir_misc]/bouton_options.gif" name="options" width="93" height="40" border="0" class="imgFader" id="options" alt="" /></a></td>
</tr>
</table>
</td>
</if>
<!-- /Options -->

<!-- Faq -->
<td width="93">
<table width="93" border="0" cellpadding="0" cellspacing="0">
<tr>
<td style="background:#FFFFFF url($stylevar[imgdir_misc]/bouton_faq.gif);"><a href="$vboptions[bburl]/faq.php$session[sessionurl_q]" rel="nofollow"
onmouseover="JSFX.fadeIn('faq')"
onmouseout="JSFX.fadeOut('faq')"><img
src="$stylevar[imgdir_misc]/bouton_faq.gif" name="faq" width="93" height="40" border="0" class="imgFader" id="faq" alt="" /></a></td>
</tr>
</table>
</td>
<!-- /Faq -->

<!-- Membres -->
<td width="93">
<table width="93" border="0" cellpadding="0" cellspacing="0">
<tr>
<td style="background:#FFFFFF url($stylevar[imgdir_misc]/bouton_membres.gif);"><a href="$vboptions[bburl]/memberlist.php$session[sessionurl_q]" rel="nofollow"
onmouseover="JSFX.fadeIn('membres')"
onmouseout="JSFX.fadeOut('membres')"><img
src="$stylevar[imgdir_misc]/bouton_membres.gif" name="membres" width="93" height="40" border="0" class="imgFader" id="membres" alt="" /></a></td>
</tr>
</table>
</td>
<!-- /Membres -->

<!-- Calendrier -->
<td width="93">
<table width="93" border="0" cellpadding="0" cellspacing="0">
<tr>
<td style="background:#FFFFFF url($stylevar[imgdir_misc]/bouton_calendrier.gif);"><a href="$vboptions[bburl]/calendar.php$session[sessionurl_q]" rel="nofollow"
onmouseover="JSFX.fadeIn('calendrier')"
onmouseout="JSFX.fadeOut('calendrier')"><img
src="$stylevar[imgdir_misc]/bouton_calendrier.gif" name="calendrier" width="93" height="40" border="0" class="imgFader" id="calendrier" alt="" /></a></td>
</tr>
</table>
</td>
<!-- /Calendrier -->

<if condition="$show['popups']">
<if condition="$show['searchbuttons']">
<if condition="$show['member']">

<!-- Nouveaux Messages -->
<td width="93">
<table width="93" border="0" cellpadding="0" cellspacing="0">
<tr>
<td style="background:#FFFFFF url($stylevar[imgdir_misc]/bouton_nouveaux_messages.gif);"><a href="$vboptions[bburl]/search.php?$session[sessionurl]do=getnew" accesskey="2" rel="nofollow"
onmouseover="JSFX.fadeIn('Nmessages')"
onmouseout="JSFX.fadeOut('Nmessages')"><img
src="$stylevar[imgdir_misc]/bouton_nouveaux_messages.gif" name="Nmessages" width="93" height="40" border="0" class="imgFader" id="Nmessages" alt="" /></a></td>
</tr>
</table>
</td>
<!-- /Nouveaux Messages -->
<else />
<!-- Messages du Jour -->
<td width="93">
<table width="93" border="0" cellpadding="0" cellspacing="0">
<tr>
<td style="background:#FFFFFF url($stylevar[imgdir_misc]/bouton_messages_jour.gif);"><a href="$vboptions[bburl]/search.php?$session[sessionurl]do=getdaily" accesskey="2" rel="nofollow"
onmouseover="JSFX.fadeIn('Mjour')"
onmouseout="JSFX.fadeOut('Mjour')"><img
src="$stylevar[imgdir_misc]/bouton_messages_jour.gif" name="Mjour" width="93" height="40" border="0" class="imgFader" id="Mjour" alt="" /></a></td>
</tr>
</table>
</td>
<!-- /Messages du Jour -->
</if>


<!-- Recherche -->
<td width="93">
<table width="93" border="0" cellpadding="0" cellspacing="0">
<tr>
<td style="background:#FFFFFF url($stylevar[imgdir_misc]/bouton_recherche.gif);" id="navbar_search"><a href="$vboptions[bburl]/search.php$session[sessionurl_q]" accesskey="4" rel="nofollow"
onmouseover="JSFX.fadeIn('recherche')"
onmouseout="JSFX.fadeOut('recherche')"><img
src="$stylevar[imgdir_misc]/bouton_recherche.gif" name="recherche" width="93" height="40" border="0" class="imgFader" id="recherche" alt="" /></a><script type="text/javascript"> vbmenu_register("navbar_search", true); </script></td>
</tr>
</table>
</td>
</if>
<!-- /Recherche -->



<!-- Liens -->
<if condition="$show['member']">
<td width="93">
<table width="93" border="0" cellpadding="0" cellspacing="0">
<tr>
<td style="background:#FFFFFF url($stylevar[imgdir_misc]/bouton_liens.gif);" id="usercptools"><a href="$show[nojs_link]#usercptools" rel="nofollow"
onmouseover="JSFX.fadeIn('liens')"
onmouseout="JSFX.fadeOut('liens')"><img
src="$stylevar[imgdir_misc]/bouton_liens.gif" name="liens" width="93" height="40" border="0" class="imgFader" id="liens" alt="" /></a><script type="text/javascript"> vbmenu_register("usercptools", true); </script></td>
</tr>
</table>
</td>
</if>
<!-- /Liens -->
</if>

<!-- Deconnexion -->
<if condition="$show['member']">
<td width="93">
<table width="93" border="0" cellpadding="0" cellspacing="0">
<tr>
<td style="background:#FFFFFF url($stylevar[imgdir_misc]/bouton_deconnexion.gif);"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out()"
onmouseover="JSFX.fadeIn('deconnexion')"
onmouseout="JSFX.fadeOut('deconnexion')"><img
src="$stylevar[imgdir_misc]/bouton_deconnexion.gif" name="deconnexion" width="93" height="40" border="0" class="imgFader" id="deconnxion" alt="" /></a></td>
</tr>
</table>
</td>
</if>
<!-- /Deconnexion -->

</tr>
</table>
<!-- /EFFET ROLLOVER BOUTONS -->
$spacer_open

$_phpinclude_output

might be cos your banner is 117 px high, and you set table to be 131 high

nope, thats not it