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

    Styling input fields using css?

    Asked by jamesosix on March 09, 2011 at 08:16 AM

    Is it possible? I want to add a thin border to all my input fields. Is this possible and if so, how?

     

    Many thanks! :)

    Page URL:
    http://www.jameswylie.co.uk/james/contact.php

  • Profile Image

    Answered by DanielGriffin on March 09, 2011 at 08:21 AM

    Hi there,

    Yes it's possible to style any element in a form by using the Inject CSS feature.  Here is a post on how to do just that:

    http://www.jotform.com/answers/tag/Inject%20Custom%20CSS?updatemessage=12251455654

     

    the CSS code would be something along the lines of:

    .input {
        border: 1px solid #000000;

    }

    Thanks,

    Daniel

  • Profile Image

    Answered by jamesosix on March 09, 2011 at 10:14 AM

    worked a treat, brilliant! Thank you very much for such an excellent service! :)

  • Profile Image

    Answered by nllemire on March 29, 2011 at 03:12 PM

    I followed the instructions as above, inserted the css code as above and nothing happened.  Is there more to the css code that I should be entering?

  • Profile Image

    Answered by allanftd on March 29, 2011 at 05:13 PM

    Hi nllemire,

    I looked at your forms but all of them seemed to have input fields with borders. Consider changing the color and width of the border to make it more visible against the page background.

    Please let us know if you need further assistance. Thank you for using JotForm!

    JOTFORM SUPPORT

  • Profile Image

    Answered by Nikolay Dyankov on June 11, 2011 at 04:08 AM

    I have a video tutorial about styling input fields with css. http://blog.nikolaydyankov.com/05/video-tutorial-styling-input-fields-with-css/

     

    cheers!