2px gap between button and text field

  • stevenbrewis
    Asked on July 16, 2016 at 9:51 AM

    Hi there

    I am trying to create a 2px gap between the text field and the button and I've used every tag I can imagine; margin, padding etc. Is there something I am missing?

    This is the form:
    https://form.myjotform.com/61973295655570

    Thank you

     

  • Support_Management Jotform Support
    Replied on July 16, 2016 at 10:47 AM

    Hi Steven, can you try doing the following:

    1. Adjust your form width to accommodate the 2px padding you're trying to achieve. Right now it's set to 300px, change it to 302px to give way to that 2px padding you will add later:

    2px gap between button and text field Image 1 Screenshot 30

    2. Once that's done, add the following CSS Codes:

    #cid_3 {

       padding-right: 2px;

    }

    Seeing that you managed to inject a lot of CSS customization already, I'll assume you're familiar with the steps on how to place these on your form. But just in case you need help, here's our guide [GUIDE: How-to-Inject-Custom-CSS-Codes]

    RESULT:

    2px gap between button and text field Image 2 Screenshot 41

    Please give it a go and let us know if you need further assistance.