vBulletin

Thank you for visiting. This is our website archive. Please visit our main website by clicking the banner above.
vBulletin FAQ is dedicated to helping the forum owner build, manage and profit from his vBulletin Forum
vBulletin Web Hosting - Free skins and styles for your vBulletin - Search Engine Optimization




[solved] Header problem...

Peggy
08-14-2006, 12:35 AM
I'm having an awful time getting the header on a style to center. I've edited the code, it looks just like it does on every other style I have done with a centered header, but this one just refuses to center! GGGRRRRRRRRRRRRRRRRRRRRrrrrrrrrrrrrrrrrrrrr

Here's the code from the header template... anyone see a reason the header won't center?

<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td align="$stylevar[center]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
<td align="$stylevar[right]">
&nbsp;
</td>
</tr>
</table>
<!-- /logo -->
<!-- content table -->
$spacer_open
$_phpinclude_output

noppid
08-14-2006, 07:11 AM
Get rid of the empty TD and tell us what happens.

Peggy
08-14-2006, 09:53 AM
hmmmmm ok....

Darwa
08-15-2006, 12:53 AM
Got it fixed yet Peggy?

I'm having the same trouble.

Peggy
08-15-2006, 06:56 AM
I sure did. There are two solutions to this.

#1- Original Header 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" /></a></td>
<td align="$stylevar[right]">
&nbsp;
</td>
</tr>
</table>
<!-- /logo -->
<!-- content table -->
$spacer_open
$_phpinclude_output

Make the changes that are in red above, so that the code now looks like this:
<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
[B]<td align="$stylevar[center]"> <a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions" /></a></td>
</tr>
</table>
<!-- /logo -->
<!-- content table -->
$spacer_open
$_phpinclude_output


The other solution is to change the the original code (in red) to look like this:
<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
[B]<td align="center"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
</tr>
</table>
<!-- /logo -->
<!-- content table -->
$spacer_open
$_phpinclude_output

I hope that was clear? I'm not real good at explaining lol

Darwa
08-15-2006, 07:25 AM
That sorted it. Thanks Peggy :)

Peggy
08-15-2006, 08:58 AM
You're very welcome :D


vBulletin

seo book

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum