vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   Please help me get rid of this gap/space (https://vborg.vbsupport.ru/showthread.php?t=216858)

applebeef 06-22-2009 11:11 PM

Please help me get rid of this gap/space
 
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:

PHP Code:

<!-- 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:
PHP Code:

<!-- 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!


All times are GMT. The time now is 08:52 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01082 seconds
  • Memory Usage 1,737KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete