Buy Now
Sign in

Align fields

The King , November 04 2007, 04:16
T
The King 15
November 04 2007, 04:16 #3390
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 64
November 04 2007, 15:52 #3398
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>&nbsp;</td>
<td><input name="submit" value="Submit" type="submit"></td>
</tr>
</table>
Bob
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much
T
The King 15
November 05 2007, 21:38 #3444
Thanks! :woohoo: