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

    Making some fields side by side and shorter

    Asked by adea on November 16, 2015 at 12:25 PM

    I have a form that I want the credit card number and the CVV field to be side by side.  I have tried adjusting some of the fields with CSS but it doesn't seem to be having the desired affect.  Can you tell me how I can adjust those fields without affecting the other fields?

     

    Carolyn

    Page URL:
    http://www.jotform.com//?formID=53155207835152

    side by side and side credit card
  • Profile Image
    JotForm Support

    Answered by Kiran on November 16, 2015 at 02:38 PM

    In order to get the Credit card number and CVV information on the same line, you'll need to decrease the td width of CVV field so that it should move to align with CC number.

    #creditCardTable > tbody > tr:nth-child(3) > td > span:nth-child(2) {

        width: 20% !important;

    }

    Hope this information helps! Let us know if you need any further assistance. We will be happy to help.