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

    Align Right and Left edges of ALL text boxes and text areas

    Asked by prestonehrler on January 28, 2012 at 04:51 PM

    It seem like one can set the width of some label via the SIZE funciton, yet for a Text Box, the size is in Columns.  Therefore, it seems, one cannot easly set the width of all forms through a single funcationality.  Is there something I'm missing, or another way to do this?



    Page URL:

  • Profile Image
    JotForm Support

    Answered by mliz on January 28, 2012 at 10:34 PM

    You can use Inject Custom CSS to set the alignment and width of the form labels. The CSS code below formats all the labels in the form. You can change the values according to your needs.

    .form-all label  { 
        margin-left: 5px;
        margin-right: 5px;

    Let us know if you have further questions.

  • Profile Image
    JotForm Support

    Answered by abajan on January 28, 2012 at 11:41 PM


    Judging from the link you have provided, I think you actually want the text box and text area inputs aligned, as opposed to their labels:

    If that's the case, please inject the following code:

    .form-textarea {
    width: 331px;

    Change the width's value (331) according to your preference.

  • Profile Image
    JotForm Support

    Answered by abajan on January 28, 2012 at 11:45 PM

    I've changed the title and tags of the thread to reflect what I'm pretty certain you meant.