Hi I have this code, but it's listing the tables in a vertical formart. How can make this display in a horizontal format? <td width="165" valign="top" ><table width="160" border="0" align="center" cellpadding="2" cellspacing="0"> <?php $latest=mysql_query (" select * from xcd_listing where sold='No' order by time DESC limit 4 "); while($row=mysql_fetch_array($latest)){ $make_model=$row[45]."-".$row[46]; if ($row[26]!="") {$thumb=$row[26];} elseif ($row[27]!="") { $thumb=$row[27];} elseif ($row[28]!="") { $thumb=$row[28];} elseif ($row[29]!="") { $thumb=$row[29];} elseif ($row[30]!="") { $thumb=$row[30];} elseif ($row[31]!="") { $thumb=$row[31];} elseif ($row[32]!="") { $thumb=$row[32];} elseif ($row[33]!="") { $thumb=$row[33];} elseif ($row[34]!="") { $thumb=$row[34];} elseif ($row[35]!="") { $thumb=$row[35];} else $thumb="no_pic.png"; if($row['year']!="") {$Year=$row['year'];} else {$Year="N/A";} if($row['price']!="") {$Price=$row['price'];} else {$Price="N/A";} $cid=$row[0]; if ($Html_Url=="Yes") { $curl="details"."-".$cid.".html";} else {$curl="details.php?car=".$cid;} ?> <tr> <td align="center" valign="top" ><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" > <tr> <td align="center" nowrap="nowrap" class="separator"><a href="details.php?car=<?php echo $row['v_id'];?>"><strong><?php echo $make_model;?><br /> </strong></a><a href="<?php echo $curl;?>"><img src="listing_images/thumb/<?php echo $thumb;?>" alt="<?php echo $make_model;?>" border="0" align="middle" /></a><br /> <?php echo L_YEAR,"-", $Year; echo "<br>",L_PRICE,"-<span class=\"verdana_12_red\">", $Price,"</span>";?></td> </tr> </table></td> </tr> <?php }?> </table></td> Code (markup):