Simple Machines Community Forum

General Community => Scripting Help => Aiheen aloitti: Suetan - tammikuu 26, 2007, 10:28:53 AP

Otsikko: Tables not working right
Kirjoitti: Suetan - tammikuu 26, 2007, 10:28:53 AP
URL Where you can see the problem: http://www.gaminunlimited.net/games.php (http://www.gaminunlimited.net/games.php)

As you can tell, I'm having trouble with my tables lineing up the way that they should be.
My right side of the table isn't showing up at all.

Here's my source Code.

games_listbit.inc.php
<table align="left" cellspacing="0" cellpadding="0" border="0" width="100%">
<tr>
<td width="100%">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td><img src="images/nav_top_left_elbow.gif" alt="" border="0"></td>
<td background="images/top_border.gif"></td>
<td><img src="images/nav_top_right_elbow.gif" alt="" border="0"></td>
</tr>
<tr>
<td background="images/left_border.gif"></td>
<td width="100%">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="25%"><b>Title</b></td>
<td width="25%"><b>Genre</b></td>
<td width="25%"><b>Release Date</b></td>
<td width="25%"><b>Platform</b></td>
</tr>
<tr>
<td>
<a href="gamedetails.php?id=<?= $row->ID; ?>"><?= stripslashes($row->TITLE); ?></a>
</td>
<td>
<?= stripslashes($row->GENRE); ?>
</td>
<td>
<?= stripslashes($row->RELEASE); ?>
</td>
<td>
<?= $section; ?>
</td>
</tr>
</table>
</td>
<td background="images/right_border.gif"></td>
</tr>
<tr>
<td><img src="images/nav_bottom_left_elbow.gif" alt="" border="0"></td>
<td background="images/bottom_border.gif"></td>
<td><img src="images/nav_bottom_right_elbow.gif" alt="" border="0"></td>
</tr>
</table>
</td>
</tr>
</table>


This one's viewable at http://www.gaminunlimited.net/companies.php (http://www.gaminunlimited.net/companies.php)
companies_listbit.inc.php
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td><img src="images/nav_top_left_elbow.gif" alt="" border="0"></td>
<td background="images/top_border.gif" width="100%"></td>
<td><img src="images/nav_top_right_elbow.gif" alt="" border="0"></td>
</tr>
<td background="images/left_border.gif"></td>
<td align="center" width="100%"><font color="#FFFFFF"><b>Company Profiles</b></font></td>
<td background="images/right_border.gif"></td>
</tr>
<tr>
<td><img src="images/nav_bottom_left_elbow.gif" alt="" border="0"></td>
<td background="images/bottom_border.gif" width="100%"></td>
<td><img src="images/nav_bottom_right_elbow.gif" alt="" border="0"></td>
<tr>
</table>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td><img src="images/nav_top_left_elbow.gif" alt="" border="0"></td>
<td background="images/top_border.gif" width="100%"></td>
<td><img src="images/nav_top_right_elbow.gif" alt="" border="0"></td>
</tr>
<td background="images/left_border.gif"></td>
<td>
<?= $companies_list; ?>
</td>
<td background="images/right_border.gif"></td>
</tr>
<tr>
<td><img src="images/nav_bottom_left_elbow.gif" alt="" border="0"></td>
<td background="images/bottom_border.gif" width="100%"></td>
<td><img src="images/nav_bottom_right_elbow.gif" alt="" border="0"></td>
<tr>
</table>

I don't know what's wrong with it. My tables work perfectly for my company descriptions and game descriptions.