Ver Mensaje Individual
  #1 (permalink)  
Antiguo 01/03/2008, 16:11
Avatar de jaronu
jaronu
 
Fecha de Ingreso: febrero-2008
Mensajes: 2.183
Antigüedad: 16 años, 1 mes
Puntos: 52
formateo tablas con php

estoy tratando de hacer fina un border de tabla en php, he provado de todo, hasta incluirle un estilo css, pero nada, es como si el codigo no hiciese caso.


formateo a si la consulta a DB:


Código PHP:
while($row mysql_fetch_array($_pagi_result)){

echo 
"<table class=Estilo5 cellpadding=2 cellspacing=0 border=thin  bordercolor=red ><tr><td>";
echo 
"<table width=530 border=0 cellpadding=0 cellspacing=0  class=Estilo5><tr bgcolor= #61e877>";

echo 
"<td width=75% ><b>Titulo: </b>";
echo 
$row[titulo];
echo 
"</td>";
echo 
"<td width=25%><b>De: </b>";

echo 
$row[user];
echo 
"</td>";


echo 
"</tr>";
echo 
"</table>" ;
echo 
"<br>";
echo 
"<table width=530 border=0 cellpadding=0 cellspacing=0  class=Estilo5>";
echo 
"<tr width=530 bgcolor= #cccccc ><b> &nbsp;&nbsp;&nbsp;Comentario: </b>";

echo 
$row[comentario];
echo 
"</tr>";
echo
"<tr width=530 bgcolor= #cccccc >&nbsp;</tr>";
echo 
"</table>";
echo 
"<table border=0 cellpadding=0 cellspacing=0  class=Estilo5><tr width=550 bgcolor= #c3c3c3>";

$fechita explode('-',$row['fecha']);
echo 
"<td width=470><b> &nbsp;&nbsp;&nbsp;Fecha: </b>";



echo 
"$fechita[2]-$fechita[1]-$fechita[0]";

echo 
"</td>";
echo 
"<td width=60 ><div align=left><b>&nbsp;&nbsp;nº: </b>";

echo 
$row[id]; 
echo 
"</div></td>";
echo 
"</tr>";


echo 
"</table>" ;
echo 
"</td></tr></table>" 
quiero hacer fina el border de la primera tabla que engloba a las demas.

Gracias