27/02/2010, 01:30
|
| | Fecha de Ingreso: abril-2004
Mensajes: 88
Antigüedad: 20 años, 9 meses Puntos: 0 | |
imagenes en horizontal buenos dias
podia alguien hecharme una mano con este codigo y decirme como puedo ver las imagnes en horizontal,por mas vueltas que le doy no soy capaz
Código:
<div style="float:left;width:200px;">
<?$query4 = "select i.filename as filename, i.tn_filename as tn_filename, i.filepath as filepath, i.added as add_dt, i.ip as ip, i.filesize as filesize, sum(ih.kb) as bandwidth, count( ih.filename ) as ctr from images i left outer join imagehits ih on i.filename = ih.filename where i.prv='0' group by filename order by rand() limit 4";
$result4 = mysql_query($query4) or die("Query failed4."); while ($line = mysql_fetch_array($result4)) { ?>
<a href="view.php?filename=<?=$line[filename]?>">
<img src="<?=$line[filepath].$line[tn_filename]?>" alt="<?=$line[filename]?>" title="<?=$line[filename]?>" border="0" />
</a>
<br /><br />
<?}?>
</div>
un saludo |