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 text fields to the right side of a form?

    Asked by CarlosGilBallesteros on January 05, 2017 at 06:16 AM

    Afternoon dear supporters.

    I have managed to create a form in two column by shrinking the fields (according to your user guide)

    The first two fields align correctly (first one on the left column is a data field, the first one on the right column is just a text field - I do not want any other field in the right column)

    However, the second, third and fourth data fields in the left column do not align (vertical) correctly with the first.

    I guess it is because the size of the field in the right column makes the other three drop down.

    Is there any way to solve this so the four fields in the left column are right beneath each other?

    Thanks in advance


    Page URL:

  • Profile Image
    JotForm Support

    Answered by ashwin_d on January 05, 2017 at 07:16 AM

    Hello Carlos,

    Please inject the following custom css code in form and see if that helps you:

    li#id_11 {

        margin-top: -317px;


    li#id_5 {

        margin-top: -268px;


    li#id_6 {

        margin-top: -220px;


    li#id_8 {

        margin-top: -141px;


    The follwoing guide should help you how to inject custom css code in form:  https://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes

    Output of the above custom css code is as displayed in the screenshot below:


    Hope this helps.

    Do get back to us if you need any other changes.

    Thank you!

  • Profile Image

    Answered by CarlosGilBallesteros on January 05, 2017 at 07:43 AM

    Hi ashwin_d

    Works wonderful!

    Many thanks