HTML Code Problem in Comment Box
-
Hey Khairul,
Hope all is well my friend. I am having problem on this page> http://workwithmarkchoo.com/step-two-questionnaire in the comment section there is a
code that keeps coming up, I had a friend of mines try this on his theme in wordpress and the problem is not showing up for him using the exact same HTML code.I am using Email me Form for this page and thats where I am getting the HTML code from.
Any ideas or suggestions?
Thank You,
Mark
ModThat’s because there is a
<br />
in between the opening and closing<textarea>
codes. Just edit your html to take it out and it should go away.Ken
Hey Ken,
Thank you for your reply, but I dont see any </b> between the text area. Here is my code.
<tr valign="top">
<td id="td_element_label_8" style="" align="">
<font face="Verdana" size="2" color="#003370"><b>Comments</b>
</td>
</tr>
<tr>
<td id="td_element_field_8" style="">
<textarea id="element_8" name="element_8" cols="45" rows="10" class="validate[optional]">
</textarea>
<div style="padding-bottom:8px;color:#003370;"></div>
</td>
</tr>
<tr valign="top">
<td id="td_element_label_9" style="" align="">
<font face="Verdana" size="2" color="#003370"><b>First Name</b> <span style="color:red;"><small>*</small></span>
</td>ModWhat happens when you edit your post and switch to the HTML editor? Do you see the
</ br>
then?Is this from http://www.emailmeform.com? If so, it might be easier (and better) to use a contact form plugin which is designed to work specifically with WordPress. There are lots available from the plugin repository.
Ken, If I may offer a different solution.
@markchoo,
You have unnecessary white space in your code and it’s acting a little funny.
Here is the code your provided for your comments section… I’m taking a snippet from the code above:
<tr valign="top">
<td id="td_element_label_8" style="" align="">
<font face="Verdana" size="2" color="#003370"><b>Comments</b>
</td>
</tr>
<tr>
<td id="td_element_field_8" style="">
<textarea id="element_8" name="element_8" cols="45" rows="10" class="validate[optional]">
</textarea>
<div style="padding-bottom:8px;color:#003370;"></div>
</td>
</tr>Try changing that specific part, to this:
<tr valign="top">
<td id="td_element_label_8" style="" align="">
<font face="Verdana" size="2" color="#003370"><b>Comments</b></font>
</td>
</tr>
<tr>
<td id="td_element_field_8" style="">
<textarea id="element_8" name="element_8" cols="45" rows="10" class="validate[optional]"></textarea>
<div style="padding-bottom:8px;color:#003370;"></div>
</td>
</tr>See if that works for you.
Also NOTE:
Anytime you use the
<font>
tag… you have to close it with a</font>
ending tag. You did not use closing font tags, and that creates issues also.I have fixed this in the code I provided you. However, you should check the rest of your table and fix it accordingly.
Josh,
THANK YOU so much my friend! That fixed it. And thank you for the follow up as well, I will take a closer look at those tags.
Thanks again Josh!
Mark
My pleasure. Glad to help.
Viewing 8 posts - 1 through 8 (of 8 total)
- You must be logged in to reply to this topic.