PDA

View Full Version : How to get rid of space between header and Navbar?


HUMMERh3
10-31-2005, 06:02 PM
My forum is http://ewheatgrass.com/wheatgrassjuice/
The header in the left hand corner has a gap or white space...I want to delete the gap so the header rests smoothly onto the greenpart.
If anyone know how to get rid of the space please let me know! Thanks :squareeyed: ...The code for my header is below:


<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td width="20" height="20" align="$stylevar[right]"><img width="20" height="20" src="$stylevar[imgdir_misc]/page_top_left.gif" alt="" /></td>
<td align="$stylevar[left]" width="100%" style="background: url('$stylevar[imgdir_misc]/page_top.gif') repeat-x top left;">&nbsp;</td>
<td width="20" height="20" align="$stylevar[left]"><img src="$stylevar[imgdir_misc]/page_top_right.gif" width="20" height="20" alt="" /></td>
</tr>
</table>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td align="$stylevar[left]" class="page"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
<td align="$stylevar[right]" class="page">&nbsp;

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

<!-- content table -->
$spacer_open

$_phpinclude_output

peterska2
10-31-2005, 10:46 PM
Without checking, I'm positive that the first thing in the navbar template is a <br />

Remove that and it should sit nicely.

(I'll check shortly so don't panic if I'm wrong)

Ok, slightly out but not by much.

At the top of your navbar you have

<script type="text/javascript">
<!--
function log_out()
{
ht = document.getElementsByTagName("html");
ht[0].style.filter = "progid:DXImageTransform.Microsoft.BasicImage(grays cale=1)";
if (confirm('$vbphrase[sure_you_want_to_log_out]'))
{
return true;
}
else
{
ht[0].style.filter = "";
return false;
}
}
//-->
</script>

<br />

<!-- breadcrumb, login, pm info -->

REMOVE the <br /> ABOVE <!-- breadcrumb, login, pm info -->

patrickstar
06-21-2006, 03:31 AM
looks great, i was wondering how to do this. thanks.