Text box centred

  • lerhyc
    Asked on November 15, 2014 at 7:46 PM

    Is it possible to center "text box"?

     

  • jonathan
    Replied on November 15, 2014 at 10:28 PM

    Since your jotform http://www.jotform.com/43168097313254  is a responsive form,  you will have to manually decide how much margin-left you want to use on the style so that it will move the Textboxes towards the center of the form

    Text box centred Image 1 Screenshot 20

    #input_113, #input_114, #input_115, #input_117 {

    /* text-align: center !important; */

    margin-left: 250px;

    }

     

    User guide: http://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes

     

    Thanks.

     

  • lerhyc
    Replied on November 16, 2014 at 11:52 AM

    Thanks.

    The screenshot is what I wanted for desktop !!!! :-D

     

    That mean the text boxes will be not centered in tablet or smartphone mode?

     

    At this time I inject the code but it doesn't work.

    I think I did a mistake somewhere. Could you take a look at the place where I copy/past your  code?

  • lerhyc
    Replied on November 16, 2014 at 1:02 PM

    Ok, I moved the code at the top of the page (it was in the bottom) and it's work now. The result is like your screenshot.

    Also those text box are no more responsive :( Is their anyway to mix that?

  • abajan Jotform Support
    Replied on November 16, 2014 at 6:47 PM

    Please have a look at this clone of the jotform. If the centering and responsiveness of the textboxes are to your liking, remove all of your form's injected CSS and replace it with this.

    Thanks