Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
May 22, 2012, 09:37:00 PM

Pages: [1]   Go Down
  Print  
Author Topic: registration form  (Read 667 times)
John Q
Spaceship Captain
*****
Offline Offline

Posts: 116


« on: September 13, 2007, 01:22:24 AM »

I just used the frontpage registration form template to be used for 'user requests to secure member login.' I had to use the form because I couldn't figure out how to get the layout I wanted. I want the identifier for the textbox to be to the left and the submit/reset buttons to be at the bottom.
ex.
name          [textbox]
password     [textbox]
email           [textbox]
[submit] [reset]

Every time I tried to this I got the "name" on top of the textbox with the submit form to the right. Any additional fields had the same layout except the submit button remains to the right of the top box. I tried to look at the code for a site that uses such a layout, but it uses styles. I haven't gotten that far yet in my rookie education. Besides something tells me there is an easier way I'm just overlooking. Thanks
Logged
wektech
Master Jedi
*****
Offline Offline

Posts: 1031



WWW
« Reply #1 on: September 13, 2007, 07:52:20 AM »

To get your basic requirement the code is fairly simple:
Code:
Name: <input name="name" type="text"  /><br/>
Password: <input name="password" type="text"  /><br/>
Email: <input name="email" type="text" /><br/>
<input name="submit" type="submit" />
<input name="reset" type="reset" />

If you want to align the text fields without using CSS then a table could be used"
Code:
<table width="250" cellspacing="0" cellpadding="0">
<tr>
<td width="40%">Name:</td>
<td width="60%"><input name="name" type="text"   /></td>
</tr>
<tr>
<td>Password: </td>
<td><input name="password" type="text"  /></td>
</tr>
<tr>
<td>Email: </td>
<td><input name="email" type="text" /></td>
</tr>
<tr>
<td><input name="submit" type="submit" /></td>
<td><input name="reset" type="reset" /></td>
</tr>
</table>

Logged

John Q
Spaceship Captain
*****
Offline Offline

Posts: 116


« Reply #2 on: September 13, 2007, 09:47:52 AM »

Thanks, I had tried to use tables before but still couldn't get it quite the way I wanted it. For the most part I just need to get it started for now. I have plenty of time to make adjustments to the layout later.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to: