Pensavo fosse semplice,invece è complicato anche in html. In html avresti una cosa del genere:

<table width="244px" height="237px" border="1" style="position:absolute; float:left;">
<tr border=1><td></td><td>Ciao</td></tr>
<tr>
<td height="31" >Agenzia : </td>

<td width="150" height="160" >
[img]Image2.jpg[/img]</td>
<td width=93>


Rif $row[ref]</


$row[name]</p>


$row[provincia]</p>


$row[listdate]</p>
</td>
</tr>
<tr>
<td border="0"></td>
<td height="38" >vedi annuncio</div></td>
</tr>
</table>
<table width="244px" height="237px" border="1" style="position:absolute;margin-left:410px;">
<tr border=1><td></td><td>Ciao</td></tr>
<tr>
<td height="31" >Agenzia : </td>

<td width="150" height="160" >
[img]Image2.jpg[/img]</td>
<td width=93>


Rif $row[ref]</


$row[name]</p>


$row[provincia]</p>


$row[listdate]</p>
</td>
</tr>
<tr>
<td border="0"></td>
<td height="38" >vedi annuncio</div></td>
</tr>
</table>
<table width="244" height=/"237" border="1" style="position:absolute;margin-left:820px;">
<tr border=1><td></td><td>Ciao</td></tr>
<tr>
<td height="31" >Agenzia : </td>

<td width="150" height="160" >
[img]Image2.jpg[/img]</td>
<td width=93>


Rif $row[ref]</


$row[name]</p>


$row[provincia]</p>


$row[listdate]</p>
</td>
</tr>
<tr>
<td border="0"></td>
<td height="38" >vedi annuncio</div></td>
</tr>
</table>

che poi si ripeterebbe per tutte le righe di annunci che hai.

In php basterebbe automatizzare con un contatore e degli if gli style css e il tutto dovrebbe essere risolto.

Non so se ti è chiaro,spero che ti sia di aiuto.