Why can't i centre fields in the form?

  • Profile Image
    andrewg1234
    Asked 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

  • Profile Image
    idarktech
    Answered 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
    andrewg1234
    Answered on January 09, 2013 at 01:56 AM

    Thanks Idarktech,

    That tidied the form up nicely! 

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