What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Remove the top white space above the form

    Asked by amazing2061 on March 06, 2013 at 11:16 PM

    I want the image at the top of my form to be flush with the top of the browser window. Looking at the source code I can see that the image is by default surrounded with a paragrah tag. I want to remove that tag.

     

    Here is my form: http://www.jotform.us/amazing2061/nunucontact

    NOTE: The form is being used for a mobile site. I am not embeding the form, just intent to provide the link

    Page URL:
    http://www.jotform.us/amazing2061/nunucontact

  • Profile Image

    Answered by amazing2061 on March 07, 2013 at 12:00 AM

    I thought I found the answer but none of the solutions involved an image at the top of the form so I still need help. Thank you.

  • Profile Image
    JotForm Support

    Answered by EltonCris on March 07, 2013 at 02:42 AM

    Hi,

    Simply inject this CSS codes to your form. This should removed the top white space.

    .form-all {

    padding-top: 0 !important;

    }

    #id_30 {

    padding-top: 0 !important;

    margin-top: 0 !important;

    }

    Guide: How to Inject Custom CSS Codes to your Form

    Let us know if you have further questions. Thanks!

  • Profile Image

    Answered by amazing2061 on March 07, 2013 at 08:15 AM

    Thank you! That worked perfectly.

  • Profile Image

    Answered by pinoytech on March 07, 2013 at 08:18 AM

    Hi,

    On behalf of my colleague EltonCris, you are quite welcome. Feel free to contact us again if you need our assistance.

    Have a great day!

  • Profile Image

    Answered by photoguy123 on December 24, 2015 at 03:54 AM

    do you need to inject the custom css for each field id? or is there a global variable if i want the padding to be uniform throughout?
  • Profile Image
    JotForm Support

    Answered by EltonCris on December 24, 2015 at 05:03 AM

    I have moved your question here http://www.jotform.com/answers/731730. We'll be on it shortly.