PDA

View Full Version : Installed a banner ad. How to space away from header image?


fridaypassion
01-13-2008, 01:42 PM
Hi

I've just installed an ad banner hack but the banner appears right next to my header image (both centred)

How would I change the code to put in some spacing below my title image.

This is my header code at the moment

cellspacing="0" align="center">
<tr>
<td align="center"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
<td align="center">
&nbsp;

</td>
</tr>

</table>

<tr><center>$banner</center></tr>

<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output

snakes1100
01-13-2008, 03:10 PM
Change it to this, also your missing the top part of the table tag, make sure you put it back in there before saving.


cellspacing="0" align="center">
<tr>
<td align="left"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
<td align="right">
$banner
</td>
</tr>

</table>

<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output[/QUOTE]

fridaypassion
01-13-2008, 04:19 PM
Hi

doing that makes the banner appear off centre

snakes1100
01-13-2008, 07:11 PM
<tr>
<td align="center"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
<br />
<tr>
<td align="center">
$banner
</td>
</tr>

</table>

<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output