PDA

View Full Version : Space between textfields


brook
10-30-2005, 02:07 AM
OK, how do you decrease the space between textfields?

My form looks like this:
First Name

Last Name

Address

I want it to look like this:
First Name
Last Name
Address

Creative Insanity
10-30-2005, 03:53 AM
First Name

Last Name

Address

brook
10-30-2005, 04:34 AM
Where do I insert it??
My code looks like this:

<form id="form1" name="form1" method="post" action="<form method="post" enctype="text/plain">">
<label><span class="style18">First Name</span>
<input type="text" name="textfield" />
</label>


</p>
<label><span class="style18">Last Name</span>
<input type="text" name="textfield2" />
</label>



<label><span class="style18">Address</span>
<input type="text" name="textfield3" />
</label>

Creative Insanity
10-30-2005, 06:43 AM
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><form id="form1" name="form1" method="post" action="<form method="post" enctype="text/plain">">
<table width="358" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="23%"><span class="style18">First Name</span></td>
<td width="77%"><input type="text" name="textfield" /></td>
</tr>
<tr>
<td><span class="style18">Last Name</span></td>
<td><input type="text" name="textfield2" /></td>
</tr>
<tr>
<td><span class="style18">Address</span></td>
<td><input type="text" name="textfield3" /></td>
</tr>
</table>
</form>
</td>
</tr>
</table>


and it looks like this ('http://webthings.org/ci/look.html').

brook
10-30-2005, 07:36 AM
Fantastic! Worked like a charm. I'm almost there, the only thing left is to get it to work on my website. Anybody know a good tutorial to set this up in dreamweaver so that the form works using the formmail function on my website (hostexcellence, Linux platform).
I'm a hair stylist and I want people to fill out the form and then send the info to my email address when they press the submit button.

Creative Insanity
10-30-2005, 07:59 AM
That requires a cgi script called formail.cgi ('http://www.scriptarchive.com/formmail.html')