Jestem dosc zielony w html'u wiec bardzo prosze o pomoc bo nie potrafie tego rozwiazac sam.
php generuje mi kod jak ponizej. Jak sie doczytalem jest zly gdyz nie mozna zagniezdzac formularzy w tabelach. Fakt ze sie to wyswietla inaczej w kazdej przegladarce zdecydowanie to potwierdza. :smutny:
Niestety nie potrafie tego poprawic.
Czy potrafilby mi ktos poprawic ten kod tak aby byl poprawny?
Kod: Zaznacz cały
<table style="text-align: left; width: 100%;" border="1"
cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td style="text-align: center; background-color: rgb(204, 204, 255); width: 30px;">lp</td>
<td style="text-align: center; background-color: rgb(204, 204, 255); width: 125px;">Montażysta</td>
<td style="text-align: center; background-color: rgb(204, 204, 255); width: 125px;">MAC</td>
<td style="text-align: center; background-color: rgb(204, 204, 255); width: 287px;">Adres</td>
<td style="text-align: center; background-color: rgb(204, 204, 255); width: 287px;">Uwagi</td>
<td style="text-align: center; background-color: rgb(204, 204, 255); width: 140px;">Data zlecenia</td>
<td style="text-align: center; background-color: rgb(204, 204, 255); width: 140px;">Data wykonania</td>
<td style="text-align: center; background-color: rgb(204, 204, 255); width: 75px;"></td>
</tr>
<tr><td style="text-align: center; background-color: rgb(204, 204, 255);">4</td>
<td style="text-align: center; background-color: rgb(233, 233, 255); ">Lukasz</td>
<td style="text-align: center; background-color: rgb(233, 233, 255); "><font face="Andale Mono">0014F8FFB5AA</font></td>
<td style="text-align: center; background-color: rgb(233, 233, 255); "></td>
<td style="text-align: center; background-color: rgb(233, 233, 255); "></td>
<td style="text-align: center; background-color: rgb(233, 233, 255); ">2007.11.19</td>
<td style="text-align: center; background-color: rgb(233, 233, 255); ">
<form name="input" action="qadd.php" method="post">
<input type="hidden" name="id" value="24">
<input type="hidden" name="dataw" value="2007.11.20">
<input type="submit" value="Dziś">
</form>
<form name="input" action="qadd.php" method="post">
<input type="hidden" name="id" value="24">
<input type="hidden" name="dataw" value="2007-11-19">
<input type="submit" value="Wczoraj">
</form>
</td>
<td style="text-align: center; background-color: rgb(233, 233, 255); "><a href="delete.php?id=24"><img style="width: 16px; height: 16px;" alt="delete" src="delete.gif"></a> - <a href="edit.php?id=24"><img style="width: 16px; height: 16px;" alt="edit" src="edit.gif"></a></td>
</tr>
</tbody>
</table>