BTW, if the HTML is simple you can just make sure you don't add extra line breaks in a few places. I have to look at that code - there are some common tags that it doesn't add line breaks for but in tables that didn't work.
+++ Rick ---
From: | Rick Strahl |
To: | rossrooker |
+++ Rick ---
The long description field is meant to be text not HTML and auto-expands line breaks. It does parse some basic HTML tags, but it will also add line breaks between many elements. IOW, this is not an ideal way to get complex content in there unless you mostly use text with a few tags. Tables in particular are tricky because there are so many HTML tags all of which incur the extra space.
There's really no good workaround for that short of you adding a separate field or maybe adding a flag that tells whether the text is plain text or HTML.
+++ Rick ---
<table width="450px">
</tr>
<tr>
<td valign="top">
<label for="first_name">First Name *</label>
</td>
<td valign="top">
<input type="text" name="first_name" maxlength="50" size="30">
</td>
</tr>
<tr>
<td valign="top"">
<label for="last_name">Last Name *</label>
</td>
<td valign="top">
<input type="text" name="last_name" maxlength="50" size="30">
</td>
</tr>
<tr>
<td valign="top">
<label for="email">Email Address *</label>
</td>
<td valign="top">
<input type="text" name="email" maxlength="80" size="30">
</td>
</tr>
<tr>
<td valign="top">
<label for="telephone">Telephone Number</label>
</td>
<td valign="top">
<input type="text" name="telephone" maxlength="30" size="30">
</td>
</tr>
<tr>
<td valign="top">
<label for="comments">Comments *</label>
</td>
<td valign="top">
<textarea name="comments" maxlength="1000" cols="25" rows="6">