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 align the button next to the other fields?

    Asked by aysekocamaz on June 20, 2015 at 05:00 AM

    Resimdeki gibi nasıl yapabilirim ?

    Aradaki mesafeyi kısaltma

    Gönder buton yakınlaştırma

    Form kodu:
    http://form.jotformeu.com/form/51665733522355

    Css:
    #cid_2 {position: relative !important;

    top: 8px !important;

    height:12px;}

    #first_1 { width:150px !important; height:13px; }

    #last_1 { width:150px; height:13px; }



    margin left left custom CSS align
  • Profile Image

    Answered by Ben on June 20, 2015 at 12:44 PM

    The best way to do this is to add this code:

    #id_1 {
        margin-right: 0;
        padding-right: 0;
    }
    #id_2 {
        margin-left: 0;
        padding-left: 0;
    }

    This will align the submit button right to the 2nd field - as shown on your image.

    Now if you wish to have the field centered as well all you should add is the top: -16px to it as well, so it looks like this:

    #id_1 {
        margin-right: 0;
        padding-right: 0;
    }
    #id_2 {
        margin-left: 0;
        padding-left: 0;
        top: -16px;
    }

    You should add this CSS code to your jotfom's custom CSS field by following the steps here: Inject Custom CSS Codes Do only note to add it after all of the other code.

    Do let us know if you have any further questions and we would be happy to assist.