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 can straighten the drop-down menus on time fields to a single horizontal line?

    Asked by bajafiya on June 16, 2015 at 06:48 AM

    The time drop down menu on my time fields are bit scattered, and I want them to aligned on a single horizontal line, how do i do that?

    Page URL:
    http://form.myjotform.com/form/51523710889561

    horizontal line horizontal custom CSS
  • Profile Image
    JotForm Designer

    Answered by ibrahim on June 16, 2015 at 07:08 AM

    Hi,

    You can inject CSS code to horizantal alignment. Here's sample code: 

    [data-type="control_time"] .form-sub-label-container {

      width: 50px;

    }

    [data-type="control_time"] .form-input {

    min-width: 400px;

    }

     

  • Profile Image

    Answered by bajafiya on June 16, 2015 at 07:40 AM

    WOW!

    That worked like a charm! Thanks Alot!

    However, The "Request Date & Time" field is still a bit...Scattered, for lack of a better word. Is there anything else I can do to make the "minutes" drop down menu come  up to the same line as the date and hour boxes?

    Kind regards

    Ps. I think you guys are amazing, jotforms is awesome! 

  • Profile Image
    JotForm Support

    Answered by Boris on June 16, 2015 at 10:09 AM

    Thank you for your kind words, our entire team appreciates it. :) On behalf of our colleague, Ibrahim, you are kindly welcome.

    To fix the minutes field as well, please try adding the following custom CSS:

    #cid_7 span:not([class]) {
        display: block !important;
    }

    It would make your form display like this:

    Please let us know if you need further assistance.