Cole,
When combined, this is what your template.html and theme.php generates, where:
The first <table>, <tr>, and <td>
have no matching pairs to close the table, row, and column: </table>, </tr>, and </td>
The third block starting with <table> and ending with </table> doesn't do anything. There is no code in there whatsoever. Just a lot of empty tables and cells.
The last <table>, <tr>, <td>, block ends abruptly, as well. No closing pairs.
As it is not in your theme.php, it has to be in the template.html.
try aligning your code as I have in the displayed block to make it easier to read and match open and closing table entities. Then try to figure out where each should be closed. I suspect the last three do nothing as well. The first three should be closed in reverse order where the last three are. And the third set or block could probably be eliminated, all together.
Dennis
<body>
<table width="650" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td align="center" valign="middle">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center"><img src="http://www.patty-loveless.net/gallery/themes/hardwired/images/plngallery.png" width="750" height="306">
</td>
</tr>
<tr>
<td width="100%" align="center"><p>
<span class="topmenu">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<!-- BEGIN login -->
<a href="login.php?referer=%2Fgallery%2F">Login</a>
<!-- END login -->
</tr>
</table>
</span>
<span class="topmenu">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<!-- BEGIN album_list -->
<a href="index.php?cat=0" title="Go to the album list">Album list</a> ::
<!-- END album_list -->
<a href="http://www.patty-loveless.net/">PLN Home</a> ::
<a href="thumbnails.php?album=lastup&cat=0">Last uploads</a> ::
<a href="thumbnails.php?album=topn&cat=0">Most viewed</a> ::
<a href="thumbnails.php?album=favpics">My Favorites</a> ::
<a href="search.php">Search</a>
</tr>
</table>
</span> </p>
</td>
</tr>
</table>
<div align="left"></div>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center" valign="top">
</td>
</tr>
<tr>
<td align="center" valign="top">
</td>
</tr>
<tr>
<td align="center" valign="top">
</td>
</tr>
</table>
<img src="images/spacer.gif" width="1" height="15" /><br />
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="top">