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

    Why can't i centre fields in the form?

    Asked by andrewg1234 on January 09, 2013 at 01:21 AM

    Hi JotForm,

    I'm having a go at making a couple of forms to suit mobile phones. 

    Why can't I center my fields in the form? They are close, but not truly centered.

    Regards,

    Andrew

    Page URL:
    http://form.jotform.co/form/30072424399858

  • Profile Image
    JotForm Support

    Answered by idarktech on January 09, 2013 at 01:36 AM

    Hi Andrew,

    This is how your form displays on my end now after adding the following CSS codes.

    .form-sub-label-container {

    margin-right: 0 !important;

    }

    #input_87{

    margin-left: 7px !important;

    }

    Let us know if this doesn't help. Thanks!

  • Profile Image

    Answered by andrewg1234 on January 09, 2013 at 01:56 AM

    Thanks Idarktech,

    That tidied the form up nicely! 

  • Profile Image
    JotForm Support

    Answered by idarktech on January 09, 2013 at 02:04 AM

    Thanks!

    Unfortunately my previous code doesn't seem to display properly on FF and IE Browsers.

    To fixed it, please add the following CSS codes. Just leave my previous codes as it is.

    #input_87,  x:-moz-any-link, x:default {

    margin-left: 1px !important;

    }

    #input_87{

    margin-left: 0\9 !important;

    }

    Thanks!