Remove the top white space above the form

  • Profile Image
    amazing2061
    Asked 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

  • Profile Image
    amazing2061
    Answered 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
    EltonCris
    Answered 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
    amazing2061
    Answered on March 07, 2013 at 08:15 AM

    Thank you! That worked perfectly.

  • Profile Image
    pinoytech
    Answered 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
    photoguy123
    Answered 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
    EltonCris
    Answered 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.