I have a horizontal table that have a changing number of columns. How do I set a fixed column width? I have tried to set width in the main table setup and in the tr and td tags. No luck so far. Any suggestions?
Here is my code
...mysql query
while ($row = mysql_fetch_assoc($result))
{
$file_no .= '<td>'.$row['File_no'].'</td>';
$user .= '<td>'.$row['User'].'</td>';
$movement .='<td>'.$row['Downloaded']. "   " .$row['Uploaded'].'</td>';
$i++;
}
echo '
<table border="1">
<tbody>
<tr align="center">
<td align="left"><b>File no.</b></td>'.$file_no .'
</tr>
<tr align="center">
<td align="left"><b>User</b></td>'.$user .'
</tr>
<tr align="center">
<td align="left"><b>Movement</b></td>'.$movement .'
</tr>
</tbody>
</table>
';
<b>tags...