PDA

View Full Version : [html]height di una tabella


$te
28-06-2008, 10:19
sto diventando pazzo: ho una tabella e non riesco a far rispettare l'height che inpongo; in piu mi sono accorto che su explorer l'altezza é ancora piu grande (io voglio avere un'altezza minima possibile), quali possono essere i problemi?

echo ' <table valign="top" width="420">';

while ($row = mysql_fetch_row($gruppi))
{
$gruppo2 = $row[0];

$c++;

echo '<tr>
<td class="links" valign="top"><strong><A HREF="javascript:Nascondi('.$c.');">'.$gruppo2.'</A></strong><br>';

$gruppo = mysql_query("
SELECT *
FROM $name
where gruppo = '$row[0]'
order by descrizione
");

echo '<DIV style="display:none" id="'.$c.'"><table>';

while ($row2 = mysql_fetch_row($gruppo))
{

echo '<tr height="10">
<td valign="top"><a href="'.$row2[1].'" target="_blank">
==> '.$row2[2].'</a>
</td>';

echo'
<td valign="top"><img src="Immagini/Gestione/blank.png" width="10" height="5"></td>
<td valign="bottom">
<form action="account/include/delete.php" method="post">
<input type="image" width="10" height="8" src="Immagini/Gestione/cancel_f2.png" alt="cancella" >
<input type="hidden" name="id" value='.$id.'>
</form>';

echo' </td>
</tr>';

}

echo' </td>
</tr>
</table>
</div>';
}

grazie

DanieleC88
29-06-2008, 00:56
Dove di preciso ti si sballa? Prova a mettere anche gli stili min-height e max-height allo stesso valore. ;)

vladix
29-06-2008, 08:13
comincia con togliere </td></tr> dal ultimo echo xche sn in +