How do I center a form (500 px wide) under a picture (810 px wide)?

  • Profile Image
    paulawittner
    Asked on September 26, 2012 at 11:33 PM

    This form is in Facebook useing a "Static HTML: iframe tab". I would like the fields and labels moved to the right so that they are approximately in the center of the frame. The picture is 810 pixels wide.

  • Profile Image
    idarktech
    Answered on September 27, 2012 at 12:02 AM

    Hello Paula,

    Thanks for your message.

    Please add the following CSS codes to your form to center your form fields.

    #id_1, #id_3, #id_7, #id_6, #id_8{

    padding-left:160px !important;

    }

    Follow this guide: How to Inject Custom CSS Codes

    If you need anything else, please let us know. Thanks!