Salve a tutti, sto letteralmente impazzendo con queste tabelle, sapreste dirmi perchè vengono visualizzate in diverso modo da FF3 e IE7? Vi allego codice e foto:
Codice PHP:echo" <table>";
for($j=1;$j<=6;$j++){
if($j==1){ echo"<td> <table class=\"turno1\" > ";
for($i=1;$i<=32;$i++){
echo" <tr><td> <select class=\"reg_form\" name=\"tabellone_giocatore\">";
echo"<option value=$giocatori>$cognome </td></tr>";
}
echo"</table> </td>";
}
if($j==2){ echo"<td> <table class=\"turno2\"> ";
for($i=1;$i<=16;$i++){
echo" <tr><td><select class=\"reg_form\" name=\"tabellone_giocatore\">";
echo"<option value=$giocatori>$cognome </td></tr>";
}
echo"</table> </td>";
}
if($j==3){ echo"<td> <table class=\"turno3\"> ";
for($i=1;$i<=8;$i++){
echo" <tr><td><select class=\"reg_form\" name=\"tabellone_giocatore\">";
echo"<option value=$giocatori>$cognome </td></tr>";
}
echo"</table> </td>";
}
if($j==4){ echo"<td> <table class=\"turno4\"> ";
for($i=1;$i<=4;$i++){
echo" <tr><td><select class=\"reg_form\" name=\"tabellone_giocatore\">";
echo"<option value=$giocatori>$cognome </td></tr>";
}
echo"</table> </td>";
}
if($j==5){ echo"<td> <table class=\"turno5\"> ";
for($i=1;$i<=2;$i++){
echo" <tr><td><select class=\"reg_form\" name=\"tabellone_giocatore\">";
echo"<option value=$giocatori>$cognome </td></tr>";
}
echo"</table> </td>";
}
if($j==6){ echo"<td> <table class=\"turno6\"> ";
for($i=1;$i<=1;$i++){
echo" <tr><td><select class=\"reg_form\" name=\"tabellone_giocatore\">";
echo"<option value=$giocatori>$cognome </td></tr>";
}
echo"</table> </td>";
}
}
echo"</select>";
}
}
?>
</table>
Ecco come vengono visualizzate da IE7:codice:table.turno1{ table-layout : fixed; width : 90px; background : Silver; height:800px; margin:0px; } table.turno2{ table-layout : fixed; width : 90px; background : red; height:800px; margin:0px; padding:0px; } table.turno3{ table-layout : fixed; width : 90px; background : yellow; height:800px; margin:0px; padding:0px; } table.turno4{ table-layout : fixed; width : 90px; background : green; height:800px; margin:0px; padding:0px; } table.turno5{ table-layout : fixed; width : 90px; background : blue; height:800px; margin:0px; padding:0px; } table.turno6{ table-layout : fixed; width : 90px; background : white; height:800px; margin:0px; padding:0px; }
![]()
e qui come vengono visualizzate in FF3:
Ovviamente il risultato che vorrei ottenere è quello di FF3, su che parametro devo agire?


Rispondi quotando
