AWeber basic form code & layout on WP page
-
Greetings All,
So I’m attempting to insert AWeber web form onto my WP pages. I’m not using the design from AWeber’s web form generator. I used their basic form code & then my own css styling. This is what I’m putting into my WP page using the ‘html’ tab:
<div class=”form-3″>
<form action=”https://www.aweber.com/scripts/addlead.pl ” method=”post”>
<div class=”optin_form-3″>
<div><input type=”text” name=”name” placeholder=”Enter Name Here…”/></div>
<div><input type=”text” name=”email” placeholder=”Enter Email Here…”/></div>
<div><input type=”submit” name=”submit” value=”Get Started!” /></div>
</div>
<input type=”hidden” name=”meta_web_form_id” value=”1910839386″ />
<input type=”hidden” name=”meta_split_id” value=”” />
<input type=”hidden” name=”listname” value=”alleynewsletter” />
<input type=”hidden” name=”redirect” value=”https://www.aweber.com/thankyou-coi.htm?m=text” id=”redirect_ed2016bbdd77f2283e01e0b0dac00cd4″ />
<input type=”hidden” name=”meta_adtracking” value=”get_started” />
<input type=”hidden” name=”meta_message” value=”1″ />
<input type=”hidden” name=”meta_required” value=”name,email” />
<input type=”hidden” name=”meta_tooltip” value=”” />
<!–
(function() {
var IE = /*@cc_on!@*/false;
if (!IE) { return; }
if (document.compatMode && document.compatMode == ‘BackCompat’) {
if (document.getElementById(“af-form-1910839386”)) {
document.getElementById(“af-form-1910839386”).className = ‘af-form af-quirksMode’;
}
if (document.getElementById(“af-body-1910839386”)) {
document.getElementById(“af-body-1910839386”).className = “af-body inline af-quirksMode”;
}
if (document.getElementById(“af-header-1910839386”)) {
document.getElementById(“af-header-1910839386”).className = “af-header af-quirksMode”;
}
if (document.getElementById(“af-footer-1910839386”)) {
document.getElementById(“af-footer-1910839386”).className = “af-footer af-quirksMode”;
}
}
})();
–>
</form></div>My issue is that with all this code, there is a ton of extra white space between the form and the next element. Is there a way to eliminate that white space?
Thanks all.
- The topic ‘AWeber basic form code & layout on WP page’ is closed to new replies.