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

    Textbox spacing and padding

    Asked by adolfoanderson on May 25, 2016 at 07:10 PM

    I need all text boxes in my form to have the following:

    padding-right:4px;

     

    padding-left:4px;

     

    Also when I duplicate a text box that I've applied CSS to, it just defaults back to a standard text box.

    text boxes standard text spacing padding
  • Profile Image
    JotForm Support

    Answered by jonathan on May 25, 2016 at 10:45 PM

    To apply it on all the Textboxes on the form https://www.jotform.com/61455901932153    you need to add the code on the .form-textbox class

    like this :

    .form-textbox {

        padding : 0px 4px 0px 4px !important;

    }

    Since it was applied to the class and not for the individual textbox field, when you duplicate a textbox field, the same css rule will be applied already to the new textbox field.

    Let us know if you need further assistance.