vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Help Please (https://vborg.vbsupport.ru/showthread.php?t=101546)

alanduke 11-25-2005 08:32 PM

Help Please
 
very new to this...

have a header...on one pc it looks bang on centre..

when i get home on my own pc its way over to the left...

Any ideas?

thanks in advance.

peterska2 11-25-2005 08:44 PM

can you post your header template please. make sure you put it inside [ code][ /code] tags.

alanduke 11-25-2005 08:45 PM

i know this is wrong..but like i said im new...

heres whats in the box...

Quote:

<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="10" cellspacing="0" align="$stylevar[center]" width="100%" >

<tr>
<td align="$stylevar[center]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"> <img src="http://i3.photobucket.com/albums/y52/Mick260878/walfridogbannerf.jpg"
border="0" alt="$vboptions[bbtitle]" /></a></td>
<td align="[center]" >
&nbsp;
</td>
</tr>
</table>
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output
Some pointers would be helpful..so i know for the next time..

thanks

Code:

<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="10" cellspacing="0" align="$stylevar[center]" width="100%" >

<tr>
        <td align="$stylevar[center]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"> <img src="http://i3.photobucket.com/albums/y52/Mick260878/walfridogbannerf.jpg"
border="0" alt="$vboptions[bbtitle]" /></a></td>
        <td align="[center]"  >
                &nbsp;
        </td>
</tr>
</table>
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output


hope thats right...

peterska2 11-25-2005 08:53 PM

Ok, it's the
Code:

$stylevar[center]
that's the problem. You need to just use
Code:

center
and it will do it.

Also you have a
Code:

<td align="[center]" >
you need to replace that with
Code:

<td align="center">
That will fix the problem. The $stylevar alignment can only be used for left or right.

alanduke 11-25-2005 08:57 PM

Sorted that out..thanks mate...

next question..

why does it appear on two different pc's as 2 different sizes?

Is that simple to fix?
basically i want it to cover the top of the forum..

on one it does and on one it doesnt..

peterska2 11-25-2005 09:01 PM

Drop the
Code:

<td align="center">
                &nbsp;
        </td>

and it will fix that.

alanduke 11-25-2005 09:07 PM

Tried that...still only half over the forum on this pc...but fully covers it on another...

heres the code i have left...

have i missed anything?

greatly appreciated


Code:

<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="10" cellspacing="0" align="center" width="100%" >


        <td align="center"><a href="$vboptions[forumhome].php$session[sessionurl_q]"> <img src="http://i3.photobucket.com/albums/y52/Mick260878/walfridogbannerf.jpg"
border="0" alt="$vboptions[bbtitle]" /></a></td>
               
</tr>
</table>
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output


peterska2 11-25-2005 09:16 PM

I've just tried that code on my site and it works perfectly in IE, Firefox, and Opera.

Try doing a hard refresh on your browser as it could be a cached copy that is causing the problem.

alanduke 11-25-2005 09:30 PM

Cant seem to get that one to work...

Someone else on the site has it covering half of the top too while some have it right across the top.

I have learned one thing today though, about the $stylevar. So thats a good start.

UphillRacers 01-16-2007 06:00 PM

Just had a look to see what the centreing looked like out of interest.
Noted that your image file took a long time to download.

d.j.carusso 02-05-2008 01:07 PM

Please can somebody try help me.
I put this banner on header but the people with opera have a problem with login, because it's redirect on first banner.
This is my header template what I change.

Code:

</div>
<br />

<!-- /logo -->


<center><a href="http://www.mke.hr"><img src="http://unitedsat.net/images/MKE Banner.gif"</a></td>
<a href="http://www.3mzb.hr"><img src="http://unitedsat.net/images/3M&ZB Banner.gif"</a></div></center>



<!-- content table -->
$spacer_open

$_phpinclude_output

--------------- Added [DATE]1202304480[/DATE] at [TIME]1202304480[/TIME] ---------------

Anybody please ?:(


All times are GMT. The time now is 03:34 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.01003 seconds
  • Memory Usage 1,739KB
  • 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
  • (8)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (11)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