or, you could try writing it like this:
PHP Code:
<!-- logo and buttons -->
<center>
<table bgcolor="{pagebgcolor}" width="{tablewidth}" cellpadding="10" cellspacing="0" border="0"><tr><td>
<table border="0" width="750" cellpadding="0" cellspacing="0">
<tr align="center">
<a href="index.php?s=$session[sessionhash]"><img src="images/sfclogo.gif" border="0" alt="$bbtitle"></a></tr>
<tr>
<td width="100%" background="images/logopix1.gif">
<a href="index.php?s=" alt="??_?_?" title="??_?_?" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('index','','images/home-2.gif',1)"><img name="index" border="0" src="images/home.gif" width="53" height="14"></a>
<a href="usercp.php?s=" alt="?????" title="?????" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('usercp','','images/usercp-2.gif',1)"><img name="usercp" border="0" src="images/usercp.gif" width="53" height="14"></a>
<a href="memberlist.php?s=" alt="?|_??C??" title="?|_??C??" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('mlist','','images/member-2.gif',1)"><img name="mlist" border="0" src="images/member.gif" width="53" height="14"></a>
<a href="register.php?s=$session[sessionhash]&action=signup" alt="?K?O???U" title="?K?O???U" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('register','','images/register-2.gif',1)"><img name="register" border="0" src="images/register.gif" width="53" height="14"></a>
<a href="calendar.php?s=" alt="?¤???" title="?¤???" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('calendar','','images/calendar-2.gif',1)"><img name="calendar" border="0" src="images/calendar.gif" width="53" height="14"></a>
<a href="misc.php?s=$session[sessionhash]&action=faq" alt="?°??D?P?ѵ?" title="?°??D?P?ѵ?" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('help','','images/help-2.gif',1)"><img name="help" border="0" src="images/help.gif" width="53" height="14"></a>
<a href="search.php?s=" alt="?·j??" title="?·j??" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('search','','images/search-2.gif',1)"><img name="search" border="0" src="images/search.gif" width="53" height="14"></a>
<a href="member.php?s=$session[sessionhash]&action=logout" alt="?n?X??" title="?n?X??" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('logout','','images/logout-2.gif',1)"><img name="logout" border="0" src="images/logout.gif" width="53" height="14"></a></td>
</td>
</tr>
</table>
<!-- /logo and buttons -->