How can i remove all padding and margins on my form?

  • Profile Image
    Asked on April 03, 2013 at 06:43 AM

    I need this form to be as compact as possible, can someone give me the CSS to add in to remove any padding or margins


    ALSO, when someone clicks the form, it then makes a scroll bar... i have made it this way as the standard script way, seems to change size to much smaller when you click submit... i cant understand why... any help is appreciated.

  • Profile Image
    Answered on April 03, 2013 at 09:19 AM


    Thanks for contacting us. Inject this custom CSS codes to your form to remove padding/margins;

    .form-all { margin: 0 !important; padding: 0 !important; }

    Guide: How to Inject Custom CSS Codes


    Since you have embedded your form using iframe method, you can adjust the form height to remove the scroll bars. Adjust the height to 718px;.

    The scroll bars will appear because of the field highlighting effect and the form error messages. You can hide these properties by injecting this custom CSS codes;

    .form-line-error { background: transparent !important;}

    .form-error-message { display: none; }