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

    How to set individual margins of dropdown menus

    Asked by mgcaledonian13 on February 23, 2017 at 09:09 AM

    How can I set individual margins of drop down menus without having to inject individual CSS for each one.

    Tried these, are any of these correct:-

    #input_139,136 {

        margin-Right : 4px;


    #input_139,#input_136 {

        margin-Right : 4px;

    Willy Scott

  • Profile Image
    JotForm Support

    Answered by BJoanna on February 23, 2017 at 12:30 PM

    If you want to apply margins only to some dropdown fields of your form then you will have to add CSS code for each dropdown field. 

    You can use second option that you provided and separate field id's with a comma.

    #input_139, #input_136 {

        margin-Right : 4px;


    If you want to apply margins to all of your dropdown fields, then use this CSS code:


        margin-Right : 4px;

    Let us know if you need further assistance.