I have a form with a background image that formats incorrectly

  • Profile Image
    podlegoop
    Asked on February 11, 2013 at 02:43 PM

    So I made a form (http://form.jotform.us/form/30336730337146) for my home page that contains a background image. My site is WP based and is a responsive design. When this form is in safari at normal viewing size, the form acts perfect. When it is sized down, the fields do not line up with the background image anymore. Also, the alignment is different on different browsers. How can I fix this. It's an opt in form above the fold on my home page. I can not have these kind of formating errors. Please help. 

     

    Micha

  • Profile Image
    EduardoMendez
    Answered on February 11, 2013 at 03:10 PM

    Hi there, 

    Here is a clone of your form:

    http://form.jotformpro.com/form/30415695715962?

    I hope that helps! 

    Please feel free to clone it if you wish, or simply add the CSS code bellow.

    I made some changes to your CSS code.  Here is what I have:

    #label_1 { visibility:hidden; }

    #input_1 { width: 190px; }html {

    background: url(http://www.multiversemediagroup.com/wp-content/uploads/2013/02/newsletter.png) no-repeat;

    background-size:220px;}

    .form-all{margin-left:0px;}

    #id_3{padding-left:3px;}

  • Profile Image
    podlegoop
    Answered on February 11, 2013 at 03:33 PM

    That's almost perfect. Only problem now it the button isn't center with the form. Can I add padding to just that button? How?

  • Profile Image
    podlegoop
    Answered on February 11, 2013 at 03:45 PM

    nevermind I figured it out. It's the padding on the last line of code... duh