
10/07/2008, 02:58
|
| | Fecha de Ingreso: abril-2008
Mensajes: 13
Antigüedad: 16 años, 11 meses Puntos: 0 | |
Scroll vertical en columna de archivo actualizable txt Hola, tengo una web en la cual hay un apartado de noticias y ofertas en php y se actualiza mediante un txt que se sube al servidor, mi problema es que cuando meto mucho texto se pierde el diseño original ya que se hace muy alta, se podría incluir un scroll vertical en las celdas que van los dos archivos .txt para que se conservara el tamaño original y no se alargara.
Os adjunto parte del código por si os fuera de ayuda:
<td width="355" height="385" rowspan="2" valign="top"><p><img src="http://www.forosdelweb.com/images/titulo_noticias.gif" name="noticias" width="354" height="61" id="noticias" />
<?
$lineas = file("./noticias.txt");
foreach ($lineas as $linea) {
echo "<br />".htmlentities($linea);
}
?>
</p><p></p><td width="60"> </td>
<td width="355" height="385" rowspan="2" valign="top"><p><img src="http://www.forosdelweb.com/images/titulo_ofertas.gif" name="ofertas" width="354" height="61" id="ofertas" />
<?
$lineas = file("./ofertas.txt");
foreach ($lineas as $linea) {
echo "<br />".htmlentities($linea);
}
?>
</p><p></p></td>
Muchas gracias
Un saludo
Mario |