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

    How to add space between left side of the page adn left side of my form?

    Asked by GuyPalinckxLS on October 26, 2016 at 05:30 AM

    Hi

    I'm using the follwing CSS code for the location of my form

     

    .form-all {

        max-width : 900px !important;

        width : 600px !important;

    }

    .form-all {

        float : left;

    }

     

    In this case the form is on the left side, but stick to the side, what is the css code to keep it on the left side but with a little space between the form and the side?

    Thanks

     

    form location float css code thanks max-width
  • Profile Image
    JotForm Support

    Answered by seth on October 26, 2016 at 09:00 AM

    Hello,

    The CSS property you are looking for is "margin". You can insert margin property inside your form-all selector. Also you can combine your both CSS code groups like this since they belong to same class (form-all):

    .form-all {

        max-width : 900px !important;

        width : 600px !important;

        float : left;

        margin: 100px;

    }

    Here how it looks like with 100 px margin:

    I hope this helps. If you have further issues please contact us again.

    Good Luck!