PDA

View Full Version : Trying to centre my logo image


Spank
09-24-2007, 09:44 PM
Trying to centre my banner I can't seem to do it. Any ideas? http://www.misc-world.com/endeavour
Here's my header template:
<!-- logo -->

<a name="top"></a>
<table>
<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[center]">
&nbsp;
</td>
</tr>
</table>

<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output

lasto
09-24-2007, 09:52 PM
how come u not closed center off with a / on the bottom line

should be [/center]

Spank
09-24-2007, 10:10 PM
No there shouldn't. Should there?

Edit: S'ok I got, I wrapped a table round it.

mrjefferson75
09-26-2007, 01:10 AM
can you post what the code looks like now?

SEOvB
09-26-2007, 01:21 AM
I don't believe there is a stylevar=[center] option oddly enough :) though there maybe.

i always just took out the table and used divs


<div align="center"><a href="/" rel="nofollow"><img src="http://www.path.to.img/" border="0" /></a>
</div>

Marco van Herwaarden
09-26-2007, 09:47 AM
There is no center "option" as center is always the same. Left/Right can depend on your text direction. ;)