PDA

View Full Version : center header logo


rollinjunk
09-30-2007, 03:07 PM
i have some code and i dont know why my banner is not centered can someone please take a look at it

thanks for any help

<!-- logo -->
</a>
<center><table border="0" width="$stylevar[outertablewidth]" cellpadding="0"cellspacing="0"align="center">
<tr>
<td align="$random_banner[center]">
$random_banner[$random_number]
</td>
</tr>
</table></center>
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output

Lynne
09-30-2007, 03:42 PM
You are missing a space before "align=" in your table tag:

<!-- logo -->
</a>
<center><table border="0" width="$stylevar[outertablewidth]" cellpadding="0"cellspacing="0" align="center">
<tr>
<td align="$random_banner[center]">
$random_banner[$random_number]
</td>
</tr>
</table></center>
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output

rollinjunk
10-01-2007, 11:46 AM
thanks Lynne