Para cada producto tu generas este código:
Cita: <table width="138" border="0" align="left" cellpadding="0" cellspacing="0">
<tr>
<td width="138" height="159" valign="top">
<table width="127" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="96%" height="64">
<table width="127" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="127"><div align="center"><a href="detalle_prod.php?IDProducto=128"><iframe src ="img_modc.php?IDProducto=128" width="130" height="195" scrolling="no" frameborder="0" id="img" name="img"> </iframe></a></div>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="20" valign="top"><div align="center" class="nombre_prod">BEACH</div>
</td>
</tr>
</table>
Y en realidad te basta con este:
Cita: <div class="producto">
<div class="imagen">
<a href="detalle_prod.php?IDProducto=128">
<iframe src="img_modc.php?IDProducto=128" width="130" height="195" scrolling="no" frameborder="0" id="img" name="img">
</iframe>
</a>
</div>
<div class="nombre_prod">BEACH</div>
</div>
añadiendo a la css este selector:
Cita: .producto {width: 137px;
text-align: center;
float: left;
}
Así te quedan 5 productos por fila en todos los navegadores.
Yo no te puedo ayudar mucho en qué código PHP debes poner para generar ese html, pero si tú sabes hacerlo, te va a ir mucho mejor.