嗯,我有這段代碼,如果我刪除表格內容,按鈕工作正常,但是當我將它插入代碼中時,按鈕根本不工作!請幫助一些!Html表單提交按鈕不工作
<body>
<img style="POSITION: absolute; LEFT: 17px; Z-INDEX: 100; TOP: 17px" border="0" src="gogo.png" width="174" height="59"/> <img style="POSITION: absolute; LEFT: 8px; Z-INDEX: 100; TOP: 482px" border="0" src="kup.jpg" width="937" height="168"/><table cellpadding="0" width="456" border="0">
<tbody>
<form name="Register" method="post" action="register_details.php">
<tr bgcolor="#0000ff">
<td colspan="4">
<div align="left">
<font face="Arial, Helvetica, sans-serif">
<font color="#ffffff" size="2"></font>
</font>
</div>
<strong>
<font color="#ffffff" size="3" face="Arial,Helvetica"> Potwierdź informacje</font> <font color="#ffffff">:</font></strong> </td>
</tr>
<tr>
<td width="132">
<div align="left">
<font face="Arial, Helvetica, sans-serif">
<font size="2"></font>
</font>
</div>
</td>
<td colspan="3">
<font size="2" face="Arial, Helvetica, sans-serif"> </font> </td>
</tr>
<tr>
<td bgcolor="#0000ff">
<div align="left">
<strong>
<font color="#ffffff" size="2" face="Arial,Helvetica"> Imię :*</font> </strong>
</div>
</td>
<td colspan="3">
<font size="2" face="Arial, Helvetica, sans-serif">
<input id="first_name" maxlength="30" size="35" name="first_name"/> </font>
</td>
</tr>
<tr>
<td bgcolor="#0000ff">
<div align="left">
<strong>
<font color="#ffffff" size="2" face="Arial,Helvetica"> Nazwisko :*</font> </strong>
</div>
</td>
<td colspan="3">
<font size="2" face="Arial, Helvetica, sans-serif">
<input id="last_name" maxlength="30" size="35" name="last_name"/> </font>
</td>
</tr>
<tr>
<td bgcolor="#0000ff">
<div align="left">
<font color="#ffffff" size="2" face="Arial,Helvetica"> Nazwa firmy:</font> </div>
</td>
<td colspan="3">
<font size="2" face="Arial, Helvetica, sans-serif">
<input id="company" maxlength="30" size="35" name="company"/> </font>
</td>
</tr>
<tr>
<td bgcolor="#0000ff">
<div align="left">
<strong>
<font color="#ffffff" size="2" face="Arial,Helvetica">
<div align="left">
<strong>
<font color="#ffffff" size="2" face="Arial,Helvetica"> Adres:*</font> </strong>
</div>
</font>
</strong>
</div>
</td>
<td colspan="3">
<font size="2" face="Arial, Helvetica, sans-serif">
<input id="address" maxlength="50" size="35" name="address"/> </font>
</td>
</tr>
<tr>
<td bgcolor="#0000ff">
<div align="left">
<strong>
<font color="#ffffff" size="2" face="Arial,Helvetica"> Miasto :*</font> </strong>
</div>
</td>
<td colspan="3">
<font size="2" face="Arial, Helvetica, sans-serif">
<input id="city" maxlength="25" size="35" name="city"/> </font>
</td>
</tr>
<tr>
<td bgcolor="#0000ff" height="19">
<div align="left">
<strong>
<font color="#ffffff" size="2" face="Arial,Helvetica"> Kraj:*</font> </strong>
</div>
</td>
<td colspan="3">
<font size="2" face="Arial, Helvetica, sans-serif">
<select id="country" size="1" name="country"> <option value="usa">Wybierz swoj kraj</option> <option value="Polska">Polska</option> <option value="Niemcy">Niemcy</option> <option value="Francja">Francja</option> <option value="Wlochy">Wlochy</option> <option value=" ">-----------------------</option> <option value="Zjednoczone Królestwo">Zjednoczone Krolestwo</option></select> </font>
</td>
</tr>
<tr>
<td bgcolor="#0000ff" height="22">
<div align="left">
<strong>
<font color="#ffffff" size="2" face="Arial,Helvetica"> Prowincja:*</font> </strong>
</div>
</td>
<td colspan="3">
<font size="2" face="Arial, Helvetica, sans-serif">
<input id="other_state" maxlength="15" size="8" name="other_state"/> </font>
</td>
</tr>
<tr>
<td bgcolor="#0000ff">
<div align="left">
<strong>
<font color="#ffffff" size="2" face="Arial,Helvetica"> Kod pocztowy:*</font> </strong>
</div>
</td>
<td colspan="3">
<font size="2" face="Arial, Helvetica, sans-serif">
<input id="zip" maxlength="20" size="10" name="zip"/> </font>
</td>
</tr>
<tr>
<td bgcolor="#0000ff">
<div align="left">
<strong>
<font color="#ffffff" size="2" face="Arial,Helvetica"> Numer telefonu:*</font> </strong>
</div>
</td>
<td colspan="3">
<font size="2" face="Arial, Helvetica, sans-serif">(<input id="phone_prefix" maxlength="3" size="5" name="phone_prefix"/>) <input id="phone_number" maxlength="10" name="phone_number"/> </font>
</td>
</tr>
<tr>
<td bgcolor="#0000ff">
<div align="left">
<font color="#ffffff" size="2" face="Arial,Helvetica"> Fax:</font> </div>
</td>
<td colspan="3">
<font size="2" face="Arial, Helvetica, sans-serif">(<input id="fax_prefix" maxlength="3" size="5" name="fax_prefix"/>) <input id="fax_number" maxlength="10" name="fax_number"/> </font>
</td>
</tr>
<tr>
<td bgcolor="#0000ff">
<div align="left">
<strong>
<font color="#ffffff" size="2" face="Arial,Helvetica"> E-mail:*</font> </strong>
</div>
</td>
<td colspan="3">
<font size="2" face="Arial, Helvetica, sans-serif">
<input id="your_email" maxlength="35" size="35" name="your_email"/> </font>
</td>
</tr>
<tr>
<td>
<div align="left">
<font face="Arial, Helvetica, sans-serif">
<font size="2"></font>
</font>
</div>
</td>
<td colspan="3">
<font size="2" face="Arial, Helvetica, sans-serif"> </font> </td>
</tr>
<tr>
<td>
<div align="left">
<font face="Arial, Helvetica, sans-serif">
<font size="2"></font>
</font>
</div>
</td>
<td colspan="3">
<font size="2" face="Arial, Helvetica, sans-serif"> </font> </td>
</tr>
<tr>
<td>
<div align="left">
<font face="Arial, Helvetica, sans-serif">
<font size="2"></font>
</font>
</div>
</td>
<td>
<div align="center">
<input value="Kup Teraz" type="submit" name="Submit"/> <font size="2" face="Arial, Helvetica, sans-serif"></font></div>
</td>
<td colspan="2"></td>
</tr>
</form>
</tbody>
</table></body>
什麼按鈕? –
你確定它不工作?也許這是你的PHP不工作。爲什麼不在外部文件中使用一些CSS? – Touch
這是整個表單,並在最後得到了提交按鈕,必須做的動作register_details.php – user2507087