How to get my form to appear in the centre of the page?

  • Profile Image
    David
    Asked on June 20, 2012 at 04:28 AM

    i.e when someone goes to my website and clicks on the form, it wll appear in the middle. At the moment when i open the form as a html file it aligns to the left.

  • Profile Image
    idarktech
    Answered on June 20, 2012 at 04:57 AM

    Hi David,

    Do you mean, you have downloaded your form's full source code and when viewing the HTML file the form fields aligns to left? If so, simply append this properties under .form-all class.

    margin:0px auto;

    It will then look like this:

     

    .form-all{

            margin:0px auto;

            padding-top:0px;

            width:650px;

            background:#5E5B56;

            color:#423D3D !important;

            font-family:'Lucida Grande';

            font-size:14px;

    }

    Let me know if you need anything else. Thanks!