Log in

View Full Version : Help Please


alanduke
11-25-2005, 08:32 PM
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...

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

<!-- 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 $stylevar[center] that's the problem. You need to just use center and it will do it.

Also you have a <td align="[center]" > you need to replace that with <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 <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


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

</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 1202304480 at 1202304480 ---------------

Anybody please ?:(