PDA

View Full Version : centering header


arcountryboy
09-01-2011, 12:58 PM
Yes, I've used search, but it seems each question gets a different answer. This is my forum, www.huntingarkansas.net, how do I get the header logo to center? I tried changing <td align="$stylevar[left] to <td align="$stylevar[center] but it did not change so I changed it back to left.

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

kh99
09-01-2011, 01:09 PM
Try changing

<td align="$stylevar[left]">


to

<td align="center" width="100%">

arcountryboy
09-01-2011, 01:13 PM
That worked, thank you very much!