ChronoEngine.com homepage

Forums

Please write a review for the extension you are using on the Joomla extensions directory before posting a new question as we are being spammed by many negative reviews.

Thank you for your support!

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.

2Checkout.com

2CheckOut.com Inc. (Ohio, USA) is an authorized retailer for goods and services provided by ChronoEngine.com