I've just put together a 'contact us' form on a clients website (<!-- w --><a class="postlink" href="http://www.electricalexcellence.org.uk">www.electricalexcellence.org.uk</a><!-- w -->).
But the email results seem to have a huge amount of extra spaces in them. I've attached a pic and highlighted the text so the breaks in spaces are easier to see. It seems to be something to do with table columns but I'm lost!
Any help gratefully received!
Vikki
My form code is:
<BODY>
<BR><BR>
<FONT FACE=ARIAL FONT COLOR="#606060" SIZE=3>
<B>Contact Us</B>
<BR><BR><BR>
<FONT FACE=ARIAL FONT COLOR="#606060" SIZE=3>
By phone: call Danny on 07984 154 947 or Stuart on 07958 419 019
<BR><BR>
Or complete the form below and we will contact you as soon as possible.
<BR><BR>
<TABLE>
<TR>
<TD WIDTH="50"></TD>
<TD>
<FONT FACE=ARIAL FONT COLOR="#606060" SIZE=3>
Title
</TD>
<TD WIDTH="25"></TD>
<TD><input type="text" name="title">
</TD>
</TR>
<TR>
<TD WIDTH="50"></TD>
<TD>
<FONT FACE=ARIAL FONT COLOR="#606060" SIZE=3>
First Name
</TD>
<TD></TD>
<TD><input type="text" name="firstname">
</TD>
</TR>
<TR>
<TD WIDTH="50"></TD>
<TD>
<FONT FACE=ARIAL FONT COLOR="#606060" SIZE=3>
Last Name
</TD>
<TD></TD>
<TD><input type="text" name="lastname">
</TD>
</TR>
<TR>
<TD WIDTH="50"></TD>
<TD>
<FONT FACE=ARIAL FONT COLOR="#606060" SIZE=3>
Address Line 1
</TD>
<TD></TD>
<TD><input type="text" name="add1">
</TD>
</TR>
<TR>
<TD WIDTH="50"></TD>
<TD>
<FONT FACE=ARIAL FONT COLOR="#606060" SIZE=3>
Address Line 2
</TD>
<TD></TD>
<TD><input type="text" name="add2">
</TD>
</TR>
<TR>
<TD WIDTH="50"></TD>
<TD>
<FONT FACE=ARIAL FONT COLOR="#606060" SIZE=3>
Town
</TD>
<TD></TD>
<TD><input type="text" name="add3">
</TD>
</TR>
<TR>
<TD WIDTH="50"></TD>
<TD>
<FONT FACE=ARIAL FONT COLOR="#606060" SIZE=3>
County
</TD>
<TD></TD>
<TD><input type="text" name="add4">
</TD>
</TR>
<TR>
<TD WIDTH="50"></TD>
<TD>
<FONT FACE=ARIAL FONT COLOR="#606060" SIZE=3>
Postcode
</TD>
<TD></TD>
<TD><input type="text" name="postcode">
</TD>
</TR>
<TR> <TD WIDTH="50"></TD>
<TD>
<FONT FACE=ARIAL FONT COLOR="#606060" SIZE=3>
Telephone Number
</TD>
<TD></TD>
<TD><input type="text" name="tel">
</TD>
</TABLE>
<BR><BR>
<B>Description of works or query</B>
<TABLE>
<TR>
<TD>
<textarea cols="60" rows="6" name="query"></textarea>
</TD>
</TR>
</TABLE>
<BR><BR>
<FONT FACE=ARIAL FONT COLOR="#606060" SIZE=3>
<b>How did you hear about us?</b>
<BR><BR>
<input type="radio" name="where" value="rec"> Recommendation
<BR><BR>
<input type="radio" name="where" value="business"> Business Card
<BR><BR>
<input type="radio" name="where" value="search"> Search Engine
<BR><BR>
<input type="radio" name="where" value="other"> Other, please specify: <input type="text" name="other">
<BR><BR><BR><BR>
<input type="submit" value="Send">
<BR><BR><BR><BR><BR><BR>
and the element titles are:
title=Title
firstname=First_Name
lastname=Last_Name
add1=Address_Line_1
add2=Address_Line_2
add3=Address_Line_3
add4=Address_Line_4
postcode=Postcode
tel=Telephone_Number
query=Query_Details
where=Where_Did_You_Hear_About_Us
Which version are you using. I recall that there was a bug in the email layout but I thought it had been fixed.
I think that the fix is posted here somewhere, if not I'll find it first thing in the morning.
Bob
Later: this is fixed in the current version.<br><br>Post edited by: GreyHead, at: 2007/07/19 10:08
