Web Hosting Talk







View Full Version : HTML form complications


infernus
04-06-2005, 06:15 PM
if you look on this page (http://www.aquinox.co.uk)
at view the source at where the cPanel and Webmail login pages are, you will see that i cannot create a form around them because the elements are together in the code.
Is there any way i can make the forms function as intended without jiggling my tables around?

SniperDevil
04-06-2005, 07:03 PM
Instead of separating the username and email fields individually with a cell (and same for password fields), use one row (<tr>) for both and one td for each form, and use line breaks (<br />) to separate email and password, and domain and password. It's kind of hard to explain... basically:


<tr>
<td><form action="" method="post">
Domain:<br />
<input type="text" /><br />(one more line break if you want)
Password:<br />
<input type="password" />
</form>
</td>

<td><form action="" method="post">
Email:<br />
<input type="text" /><br />(one more line break if you want)
Password:<br />
<input type="password" />
</form>
</td>
</tr>