PDA

View Full Version : My banner logo won't align?


Spada_FMC
02-18-2009, 03:47 AM
I have been customizing the default skin that vB comes with I have 3.8.1. I started out with a white background so I never noticed it, but now that I have hued the background and the forums different colors the alignment really stands out.

I have the board set to display at a fixed width of 988 pixels, and the banner is 988 pixels wide. When the browser is full screen the banner is shifted to the right 2 pixels. When I shrink the browser page to frame the forum, the banner shifts and lines up correctly.

Any ideas on how to fix this?

Thank you
-Spada

Seven Skins
02-18-2009, 01:09 PM
<a href="https://vborg.vbsupport.ru/showpost.php?p=1741853&postcount=6" target="_blank">https://vborg.vbsupport.ru/showp...53&postcount=6</a>

Spada_FMC
02-18-2009, 01:52 PM
Thank you very much Seven Skins, that worked!

Pokerbanter
02-20-2009, 01:07 PM
Have same problem but the suggestion above did not work. v3.7.4

https://vborg.vbsupport.ru/external/2009/02/36.jpg

Seven Skins
02-20-2009, 01:52 PM
Link for your forum ?

.

Pokerbanter
02-20-2009, 02:03 PM
Link for your forum ?

.

www.pokerbanter.com/forum

Thanks

I'm also looking to move the banner from the header to inside the white body of the forum if possible.

Seven Skins
02-20-2009, 04:59 PM
Remove the code below from your header template.

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

<td align="right"><center>&nbsp;</center>
<td align="right" id="header_right_cell">
&nbsp;

And find and remove <center> tag from header template.

.

Pokerbanter
02-20-2009, 10:10 PM
Remove the code below from your header template.

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

<td align="right"><center>&nbsp;</center>
<td align="right" id="header_right_cell">
&nbsp;

And find and remove <center> tag from header template.

.

Thanks for taking the time to help mate. That seems to have improved it but it's still 1 pixel out... :(

Seven Skins
02-21-2009, 07:51 PM
Thanks for taking the time to help mate. That seems to have improved it but it's still 1 pixel out... :(

Beacuse you have not removed this:

<td align="right">&nbsp;

&nbsp;


.

Blue Ink
07-01-2009, 02:52 PM
I am having the same logo alignment issue but I don't know what to remove from my header code. There is a screenshot attached.

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

<!-- content table -->
$spacer_open

$_phpinclude_output

$ad_location[ad_header_end]

Any suggestions?

Seven Skins
07-01-2009, 05:38 PM
If you are not going to use ad in the header you can use this.

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

<!-- content table -->
$spacer_open

$_phpinclude_output

$ad_location[ad_header_end]