지금은 몇 일에서 몇 가지 html 코드를 해왔지만, 난 그냥이 exsampel처럼, 모든 수평 모양으로 만드는 방법을 알아낼 수 없습니다 :만들기 입력 폼 상자
ID Name Commodity Weight Tolerance
Box Box drop down box box
그래서 상자는 "입력 양식"ofc를 의미하며 드롭 다운은 내 데이터베이스의 상품 이름으로 가득해야합니다.
지금, 나는 지금까지이 코드를 가지고 :
<body>
<div id="header">
<h2 align="center" style="color: #FFFFFF">Edit Recept</h2>
</div>
<div id="content">
<div id="form-wrapper">
<form method="post" action="Front">
<table>
<tr>
<td>ID: <td>
<td><input type="text" name="Id" />
</tr>
<tr>
<td>Name:<td>
<td><input type="text" name="name" />
</tr>
</table>
<table>
<tr>
<p> </p>
<p>Add commodities to your recept: <p>
</tr>
<tr>
<td>Select commodity:<td>
<td><select>
<option value="" disabled="disabled" selected="selected">Please select Commodity</option>
<option value="1">One</option>
<option value="2">Two</option>
</select>
</tr>
<tr>
<td>Weight:<td>
<td><input type="text" name="tolerance" />
</tr>
<tr>
<td>Tolerance:<td>
<td><input type="text" name="name" />
</tr>
<tr>
<td><input type="submit" value="Add" /><td>
<tr>
</table>
<br>
<input type="submit" value="Save" />
<input type="reset" value="Cancel" />
<input type="hidden" name="whichPage" value="prescription"/>
</form>
</div>
<p align="center">
Enter the new values and press save to make the change
</p>
</div>
쉽게 수행하는 방법 트릭이 있습니까? 내 목표는 상단에 설명 된 것처럼 만들고 동일한 처방전에 더 많은 상품을 저장하려는 경우 입력란의 새 줄을 추가하는 단추를 추가하는 것입니다.
버튼과 관련하여 아무 것도 시도하지 않은 것 같습니다. 몇 가지 조사를 해보고 직접 시험해보십시오 ... 간단한 Google 검색을 통해 수천 가지 사례를 얻을 수 있습니다 ... –