How to set individual margins of dropdown menus

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