on my image gallery site currently its set up so that each image is in its own table, vertically. how can i change this to make it so they will go horizontally.. say 5 across.
heres my code right now
echo "
<table width='$width' cellpadding='0' cellspacing='0' style='"; if($count != 1) { echo "margin-top: 7px; "; } echo "border: 1px solid #888888; background: #F7F7F7;'>
<tr><td width='10' style='padding: 5px;'>
<div style='margin: 0px;'><a "; if($album[prefs_newwin] == "yes") { echo "target='_blank' "; } echo "title='View Image' href='$u_id/$album[code]/$image[i_id].$image[ext]'><img src='$u_id,$album[code],$image[i_id].$image[ext]' width='60' height='60' border='0' style='border: 1px solid #666666;' alt='thumbnail'></a></div>
</td>
<td style='padding: 5px;' valign='top'>
<table cellpadding='0' cellspacing='0'>
<tr><td style='padding-bottom: 3px;'><a "; if($album[prefs_newwin] == "yes") { echo "target='_blank' "; } echo "title='View Image' href='$u_id/$album[code]/$image[i_id].$image[ext]'><b>$image[title]</b></a> "; if($image[views] != "") { echo "($image[views] view"; if($image[views] != 1) { echo "s"; } echo ")"; } else { echo "(0 views)"; } echo "</td>
<tr><td>$desc</td></tr>
</table>
</td></tr>
</table>
";
}