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 do I create a border around a section of the form with CSS?

    Asked by dgspencer on September 08, 2016 at 09:03 PM

    I've been trying unsuccessfully to create a border around a section of my form using CSS.  I don't know what I'm doing wrong but I could use some help (see lines 159-161 of the code).  I've got some basic knowledge of CSS, but I'm not understanding why when I put the code into the form, it does nothing.

    I've uploaded a screenshot of the area (2nd page of form) that I've been trying to put  border around.







    Page URL:

  • Profile Image
    JotForm Support

    Answered by Kiran on September 09, 2016 at 12:17 AM

    It seems that you have already applied borders to the fields by injecting some CSS code. I'm not sure if this effects in another border around the page section. Please allow me some time to check on this and get back to you with relevant information.

    Thank you for your patience. 

  • Profile Image

    Answered by dgspencer on September 10, 2016 at 03:40 PM

    Thanks for your efforts, Kiran.  I found a workaround.  I created a blank Textbox and used CSS to size it, create a border around it and used absolute positioning to put it over the fields.










  • Profile Image
    JotForm Support

    Answered by liyam on September 11, 2016 at 01:47 AM

    Hello dgspencer,

    Thank you for keeping us posted. Yes, that's another way of putting around a border in that area which is quite off vs the actual area of the form.

    Feel free to let us know if you have other questions.