PDA

View Full Version : Please help me get rid of this gap/space


applebeef
06-22-2009, 11:11 PM
I have emphasized the gap in red, how do I get rid of that. I appreciate your assistance!

http://img5.imageshack.us/img5/2774/gap.gif

I've looked for a stray <BR> in the header template, and I don't really see one. That's as far as my 'coding' skills go :p

smartkidbk5
06-23-2009, 04:12 AM
contact me (info in sig), or post the code for your header template here....

applebeef
06-23-2009, 05:00 AM
Hi smartkid, thanks for your help, here is my header template:

<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td bgcolor=#aea99c align="$stylevar[left]"><center><a href="$vboptions[forumhome].php?$session[sessionurl]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></center></td>
</tr>
</table>
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output

$ad_location[ad_header_end]

smartkidbk5
06-23-2009, 05:27 AM
Did you edit the style at all.....try clicking revert. Or just replace the top part: (WIth the "<!-- logo -->")

With this:
<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
<td align="$stylevar[right]" id="header_right_cell">
<if condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]<else />&nbsp;</if>
</td>
</tr>
</table>
<!-- /logo -->

applebeef
06-23-2009, 05:34 AM
Yes, I have edited the style, but very very minimally, most removing </ BR> here and there.

I also centered the header logo(my own logo was larger) and gave it a colored background TD. Other than that it was pretty much the vanilla Vbulletin style.

Thanks for your code, I will try it out.

edit: I tried out the code and it did not remove the space/gap :(

mmoore5553
06-23-2009, 10:16 AM
Link the forum as that gap usually is not header ..it is in the admin section in Sizes and Dimensions. I would have to see live ilnk to tell you which one to change. I would try a couple of them and itshould solve it ..if not send live link

Attitude5ire
06-23-2009, 11:19 AM
im guessing it would be your body margin. just try advanced css and add margin:0 to ur body.
If not check style vars, inner border or something.
cheers

applebeef
06-23-2009, 05:38 PM
Ahh there it was, under Extra CSS Attributes, the default was 5px margin.

You guys are the best!