Hi
I've just installed iPhorm on my wordpress instance and the layout is looking really stretched out. I initially thought it was a problem with CSS being incompatible, but I've noticed that infocus appears to be adding P and BR tags where they shouldn't be.
For instance, using the preview of iPhorm, here's a section of the HTML:
<div class="iphorm-element-wrap iphorm-element-wrap-text iphorm_1_7-element-wrap iphorm-clearfix iphorm-labels-above iphorm-element-optional">
<div class="iphorm-element-spacer iphorm-element-spacer-text iphorm_1_7-element-spacer">
<label for="iphorm_3d326881e2c22298ee2cb1443e60731d14f2f61e60a0f7_7">
Other </label>
<div class="iphorm-input-wrap iphorm-input-wrap-text iphorm_1_7-input-wrap">
<input class="iphorm-element-text iphorm_1_7" id="iphorm_3d326881e2c22298ee2cb1443e60731d14f2f61e60a0f7_7" type="text" name="iphorm_1_7" value="">
<p class="iphorm-description">If it's about something else, please let us know what it is.</p>
</div>
<div class="iphorm-errors-wrap iphorm-hidden">
</div> </div>
</div>
But, when that's embedded in a page using the iPhorm shortcode, it looks like this:
<div class="iphorm-element-wrap iphorm-element-wrap-text iphorm_1_7-element-wrap iphorm-clearfix iphorm-labels-above iphorm-element-optional">
<div class="iphorm-element-spacer iphorm-element-spacer-text iphorm_1_7-element-spacer">
<label for="iphorm_3d326881e2c22298ee2cb1443e60731d14f2f651d04717_7">
Other </label><p></p>
<div class="iphorm-input-wrap iphorm-input-wrap-text iphorm_1_7-input-wrap">
<input class="iphorm-element-text iphorm_1_7" id="iphorm_3d326881e2c22298ee2cb1443e60731d14f2f651d04717_7" type="text" name="iphorm_1_7" value="">
<p class="iphorm-description">If it’s about something else, please let us know what it is.</p>
<p></p></div>
<div class="iphorm-errors-wrap iphorm-hidden">
</div>
<p></p></div>
<p></p></div>
As you can see, it's adding unwanted P /P tags all through it, as well as erroneous BRs too.
Is there anyway to stop the theme (or wordpress if it's that) adding its own markup?
Thanks
Tim













