Remove white space above iframe

  • universityheights
    Asked on January 6, 2016 at 11:43 AM

    I've embedded a form on my website using the iframe code provided by JotForm. There's a pesky white space present on screens of certain sizes. I've attached a copy of the view from my desktop and my Android phone. Can you help me remove the blank space?

    I've also attached something that appears to be helpful from Chrome's Inspector, but I don't know enough to know how to fix it.

    Jotform Thread 737718 Screenshot
  • Sammy
    Replied on January 6, 2016 at 2:04 PM

    Kindly use the following CSS code to adjust the margin spacing in your form.

    .form-all {
        margin-top:-50px;
    }

    Use the designer to add the code and paste the code under the CSS tab.

    Remove white space above iframe Image 1 Screenshot 30

     

    Remove white space above iframe Image 2 Screenshot 41

  • universityheights
    Replied on January 6, 2016 at 3:53 PM

    Thank you!

  • ememn
    Replied on March 17, 2017 at 6:58 PM

    Ah thank you! I've been searching for this for ages!