• Resolved dhanken

    (@dhanken)


    Hello,

    I have an AWEBER form (email capture) coded as HTML on my homepage in my before content text widget area of my website http://webrevmarketing.com/clients/newwebrev/. The problem is, the “input type” components of the form are leaving blank lines above the actual table with the content and text input fields, which is creating a big blank area above the “Join The Online Revolution Now And Receive A..” verbiage.

    Does anyone know of a way I can not make those blank lines “appear”, to make that area smaller as it adjusts to the height of the form…

    Here is the code for the form as it stands:

    <form method="post" action="http://www.aweber.com/scripts/addlead.pl">
    <input type="hidden" name="listname" value="webrev_website" />
    <input type="hidden" name="redirect" value="http://www.webrevmarketing.com/clients/newwebrev/thank-you/" />
    <input type="hidden" name="meta_adtracking" value="custom form" />
    <input type="hidden" name="meta_message" value="1" />
    <input type="hidden" name="meta_required" value="name,email" />
    <table>
    <tr><td  width="960" colspan=6><center><p><span style="font-family: SansationBold; font-size:21px; color:#666;">Join The Online Revolution Now And Receive A<span style="color:#de5817;border-bottom:1px dashed #de5817;"> FREE 30 MINUTE CONSULTATION! </span></span></p></center></td>
    </tr>
    <tr height="40"><td width="190"></td>
    <td width="50">Name:</td><td width="205"><input type="text" name="name" value="" size="25"></td>
    <td width="50">Email:</td><td td width="205"><input type="text" name="from" value="" size="25"></td>
    <td><input type="submit" name="submit" value="JOIN NOW" size="15"></td></tr>
    </table>
    </form>

    I really appreciate the help anyone can give.

    Thanks so much!

    Danielle

Viewing 2 replies - 1 through 2 (of 2 total)
  • This is due to the <br />‘s in the output HTML (check code in page/post for blank lines/extra spaces in HTML view,, or add to bottom of CSS this (or similar to hide the breaks):

    .textwidget br {display: none;}

    Thread Starter dhanken

    (@dhanken)

    Oh my goodness, inserting the code at the bottom of the css file worked!

    Your’re the best! Thanks so much!!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Form in widget is creating blank lines’ is closed to new replies.