<br /> being replaced with <p> tags
-
Dear WordPress Community,
Please help.
I am trying to layout some form elements on a page.I want a field label on one line, the input field on the following line. I then want a blank line.
Everything looks exactly as I want if I use the following code:
<p><label for="first_name">First Name</label> <br /> <input id="first_name" maxlength="40" name="first_name" size="20" type="text" /></p>
However, once I click on the UPDATE button, the above code is changed to the following:
<p><label for="first_name">First Name</label> </p> <input id="first_name" maxlength="40" name="first_name" size="20" type="text" />
Am I doing something wrong? Should I be using a different method/different tags to layout these elements? Any help would be greatly appreciated.
Viewing 12 replies - 1 through 12 (of 12 total)
Viewing 12 replies - 1 through 12 (of 12 total)
- The topic ‘<br /> being replaced with <p> tags’ is closed to new replies.