How can make the background color only apply to the width of the form?

  • Profile Image
    TheINSGroup
    Asked on May 16, 2012 at 12:56 PM

    Basically I want the main content that I have created to have a background color that is the width I decided, and have it sit centered on a white background.

  • Profile Image
    abajan
    Answered on May 16, 2012 at 05:53 PM

    Increasing the form's width to 570 pixels and injecting the following rule should solve the problem:

    body, html {
    background: transparent;
    }

    Please let us know if you need further assistance with this or any other JotForm related matter.

  • Profile Image
    abajan
    Answered on May 16, 2012 at 08:19 PM

    Hi again

    After inspecting the form more carefully, I've made considerable changes to the injected CSS and other settings in the clone at the link below. If the formatting is to your liking, you may in turn clone it and use it or after cloning it, copy its settings to your current form.

    Form link

    If you need further assistance with this, do let us know.

  • Profile Image
    TheINSGroup
    Answered on May 17, 2012 at 10:21 AM

    Which form has the injected css that I should be cloning? I can't seem to find it in my list...

     

  • Profile Image
    TheINSGroup
    Answered on May 17, 2012 at 10:23 AM

    Oops! never mind I've got it now.

  • Profile Image
    TheINSGroup
    Answered on May 17, 2012 at 10:25 AM

    Thanks for your help!

  • Profile Image
    pinoytech
    Answered on May 17, 2012 at 10:34 AM

    Hi,

    If you need further assistance, please don't hesitate to contact us again anytime.

    Thank you for using JotForm!