Buenas, mi tabla crece hacia abajo de esta manera
1tabla
2tabla
3tabla
4tabla
pero yo quiero que sea asi
1tabla 2tabla
3tabla 4tabla
me podrian indicar que me falta y donde gracias.
ahy esta mi PHP
<div id="cuadrogrande">
<?php
include_once("config.php");
$result = mysql_query("SELECT * FROM $tabla ORDER BY id DESC") or die(mysql_error());
if(!mysql_num_rows($result)){
echo "Todavía no ha sido publicada ninguna Producto";
} else {
while($qry = mysql_fetch_array($result)){
echo "
<table id=\"cuadro\">
<tr>
<td rowspan=\"4\" class=\"marco\"><a href='3.php?id=".$qry['id']."'>".$qry['precio']."</a></td>
<td>Modelo</td>
</tr>
<tr>
<td>".$qry['modelo']."</td>
</tr>
<tr>
<td>Precio</td>
</tr>
<tr>
<td>".$qry['precio']."</td>
</tr>
</table>
<br/>
";
}
}
?>
</div>
aquie mi CSS
#cuadrogrande{
position:absolute;
width:600px;
height:600px;
margin-left:180px;
margin-top:143px;
border: groove;
}
#cuadro{
width:300px;
height:150px;
}
.marco{
width:150px;
}