What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    The image at the top and bottom of my form is off center to the right of the form.

    Asked by ButchBowling on December 26, 2014 at 07:54 AM

    Please help. I have attempted over and over again to center my business logo onto the form I have been working on for over a week. The images at the top and bottom of my form are slightly shifted to the right of the background and form itself. I have attempted to resize the images, but they remain shifted to the right. Their current size is perfect, I just want them centered on the form. Here is my form url...

    http://www.jotformpro.com//?formID=43525149924156#design

     

    Thank you in advance.

    Page URL:
    http://www.jotformpro.com//?formID=43525149924156#design

    image with border not centered shifted to the right
  • Profile Image
    JotForm Support

    Answered by Welvin on December 26, 2014 at 09:07 AM

    Hi,

    You have posted this already and my colleague just give you an answer: http://www.jotform.com/answers/482413. Kindly check and let us know if the solution doesn't help.

    Thank you!

     

  • Profile Image
    JotForm Support

    Answered by Welvin on December 26, 2014 at 09:09 AM

    I just want to add, the images are centered. However, your border is too big to fit the entire width of the form. The codes given by my colleague will adjust it.

    Here's my clone form with less border size: http://www.jotformpro.com/form/43593246502959.

    Thank you!

  • Profile Image
    JotForm Support

    Answered by abajan on December 26, 2014 at 09:19 AM

    Since the border is 19px, changing

    [data-type="control_image"] img {
    margin-left: -16px !important;
    }

    to

    [data-type="control_image"] img {
    margin-left: -19px !important;
    }

    should perfectly center the image. Also, the !important keyword doesn't appear to be necessary in this instance but it does no harm.