Align fields

The King 04 Nov, 2007
Hi is the code of my very simple form:

<br>
Naam: <input name="name" value="" type="text"><br>
Email:  <input name="email" value="" type="text"><br>
<input name="submit" value="Submit" type="submit">


How can I align the two input fields?
GreyHead 04 Nov, 2007
Hi The King,

Using css is current 'best practice', however the easy way is to put your code into a simple table:
<table>
<tr>
  <td>Naam:</td>
  <td><input name="name" value="" type="text"></td>
</tr>
<tr>
  <td>Email:</td>
  <td><input name="email" value="" type="text"></td>
</tr>
<tr>
  <td> </td>
  <td><input name="submit" value="Submit" type="submit"></td>
</tr>
</table>
Bob
The King 05 Nov, 2007
Thanks! :woohoo:
This topic is locked and no more replies can be posted.