Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Re: web store

$
0
0
Re: web store
West Wind Web Store .NET
Re: web store
Apr. 3, 2013
03:34 pm
3R40XE5M7Show this entire thread in new window
Gratar Image based on email address
From:Rick Strahl
To:rossrooker

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 ---



Thanks Rick. Your suggestion makes sense and it will work for me.


Ross,

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 ---



AS an example I pasted this code into the Detailed Description:

<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">



Rick Strahl
West Wind Technologies


from Maui, Hawaii

Making waves on the Web


Viewing all articles
Browse latest Browse all 10393

Trending Articles