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

    I decreased the size of a field now it's too far away from the other field

    Asked by idmmarketing on August 09, 2016 at 02:58 PM


    I've tried everything. The two fields on my form just won't come any closer together. Mainly I want the form to be centered on my website but it seemed like it was being slightly pushed to the left. When I added padding to the form on the left it would look correct on desktop but push it off screen on mobile. So I left that alone and tried to remedy the situation by decreasing the size of the input field to match the size of the submit button. Only now I get a big space in between them. I tried to target the input field with a padding-right: 0 !important; but that did not work. Any help appreciated. I want the two fields to be the same size and centered on my webpage.

    I should mention it looks correct when I'm in theme designer but when I embed it on my site it's not the same.

    Page URL:

  • Profile Image
    JotForm Support

    Answered by Mike on August 09, 2016 at 04:22 PM

    Please try adding the next CSS to see if that helps.

    .form-line-column {
    width: auto;
    .form-all {
    max-width: 350px !important;

    Thank you.

  • Profile Image

    Answered by idmmarketing on August 09, 2016 at 04:41 PM

    That did the trick. Thanks so much!