vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Why isnt my logo centering? (https://vborg.vbsupport.ru/showthread.php?t=144819)

imk 04-14-2007 10:10 AM

Why isnt my logo centering?
 
<a href="http://www.whoyoureppin.com/forum.php" target="_blank">http://www.whoyoureppin.com/forum.php</a>

or is it my forum thats of align?

either way any help how i can sort this out please.?

thanks alot.

hambil 04-14-2007 10:14 AM

Quote:

Originally Posted by imk (Post 1227352)
http://www.whoyoureppin.com/forum.php

or is it my forum thats of align?

either way any help how i can sort this out please.?

thanks alot.

It's centering just fine until the right sidebar pops up. I'd contact the author of the sidebar and get them to fix it, because it's not playing well with vb template structure and style vars.

Coux 04-14-2007 10:22 AM

def a side bar problem..

imk 04-14-2007 10:36 AM

the thing is when i disable the side bar, it still isnt correct....maybe i should uninstall it completely?

http://www.whoyoureppin.com/forum.php

ive just uninstalled it but its not ligning up correctly...any ideas?

codes?

amir86 04-14-2007 01:37 PM

Have you added the <td align="center"> in header template? Make sure you removed the <td align="$stylevar[right]">
&nbsp;


style manager>
edit
Common Templates>
Header

<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td align="center"></a></td>
<td align="$stylevar[right]">
&nbsp;

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

delete red text
add green text

hambil 04-14-2007 04:40 PM

HTML Code:

<table border="0" width="100%" cellpadding="0" cellspacing="0" align="center">
<tr>
    <td align="left"><a href="forum.php"><center><img src="http://whoyoureppin.com/images/blizzard/Copy%20of%20misc/vbulletin3_logo_white.gif" border="0" alt="WhoYouReppin" /></center></a></td>
    <td align="right">
        &nbsp;
    </td>
</tr>
</table>

Try removing the empty td

sinisterpain 04-14-2007 05:34 PM

Quote:

Originally Posted by imk (Post 1227363)
the thing is when i disable the side bar, it still isnt correct....maybe i should uninstall it completely?

http://www.whoyoureppin.com/forum.php

ive just uninstalled it but its not ligning up correctly...any ideas?

codes?

This is the HTML I see in your logo placement:
Code:

<!-- logo -->
<a name="top"></a>
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="center">
<tr>
  <td align="left"><a href="forum.php"><center><img src="http://whoyoureppin.com/images/blizzard/Copy%20of%20misc/vbulletin3_logo_white.gif" border="0" alt="WhoYouReppin" /></center></a></td>
  <td align="right">
    &nbsp;
  </td>
</tr>
</table>
<!-- /logo -->

I see alot of html not needed or question why its there for what you are trying to accomplish. This should work as a replacement. Just back up the code before changing it.
Code:

<!-- logo -->
<table border="0" width="100%" cellpadding="0" cellspacing="0">
<tr>
  <td align="center"><a href="forum.php"><img src="http://whoyoureppin.com/images/blizzard/Copy%20of%20misc/vbulletin3_logo_white.gif" border="0" alt="WhoYouReppin" /></a>
    </td>
</tr>
</table>
<!-- /logo -->

In your images URL link your using spaces in the folder name which is giving "Copy%20of%20misc"

imk 04-15-2007 09:58 AM

^how do i sort that out?

<!-- logo -->
<table border="0" width="100%" cellpadding="0" cellspacing="0">
<tr>
<td align="center"><a href="forum.php"><img src="http://whoyoureppin.com/images/blizzard/Copy%20of%20misc/vbulletin3_logo_white.gif" border="0" alt="WhoYouReppin" /></a>
</td>
</tr>
</table>
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output

<!-- USC header edit start -->
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
$usc_left
<td valign="top">
<!-- USC header edit end -->

thats the code i have......

solved bloody USC...thanks


All times are GMT. The time now is 09:07 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.01078 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_code_printable
  • (1)bbcode_html_printable
  • (2)bbcode_quote_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