Text box centred

  • Profile Image
    lerhyc
    Asked on November 15, 2014 at 07:46 PM

    Is it possible to center "text box"?

     

  • Profile Image
    jonathan
    Answered 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

    #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.

     

  • Profile Image
    lerhyc
    Answered 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?

  • Profile Image
    lerhyc
    Answered on November 16, 2014 at 01: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?

  • Profile Image
    abajan
    Answered on November 16, 2014 at 06: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