2px gap between button and text field

  • Profile Image
    Asked on July 16, 2016 at 09: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:

    Thank you


  • Profile Image
    Answered 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:

    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]


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