PDA

View Full Version : Adjust Width of Banner


josiespencer
10-05-2007, 02:52 PM
I recently switched to a new laptop and am using 1280 x 800 resolution for the first time. But now my website banner/logo does not center like it used to do:

http://uber-goober.com/myPictures/UG.png

How can I make this correct for both narrower screens and wider screen?

valdet
10-05-2007, 04:40 PM
Go to your header template and add <center>xxx-banner.jpg</center> around your banner code.

Here is an example:

<center>
<a href="http://www.yourdomain.com" target="_self"><img src=" http://www.yourdomain.com/images/banner.gif" border="0" alt="My Banner"></a>
</center>

Cheers,
Val.

josiespencer
10-07-2007, 09:16 PM
Thank you very much. My header template, however, doesn't really look anything like yours. This is mine:

<!-- 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]">
&nbsp;
</td>
</tr>
</table>
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_ou

valdet
10-08-2007, 06:34 AM
From the code you provided I would suggest the following change:
<tr>
<td align="$stylevar[center]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>

or use the <center>xxx</center> accross the whole code I quoted.

Cheers,
Val.