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 I Change the Size of the Preview Container?

    Asked by zipout on March 16, 2016 at 11:20 AM
    Page URL:

  • Profile Image
    JotForm Developer

    Answered by mert on March 16, 2016 at 12:16 PM

    By injecting some custom CSS to your form, you can easily adjust the related areas's width and size.

    Below, you will find the necessary CSS rules:


    .form-all {

        width: 100% !important;

        height: 500px !important;

        max-width: 500px;



    Above, you can change the maximum allowed width by changing the number on the orange area. On the green marked area, the actual width of the form can change (I put "100%" value to extend it automatically when it is allowed; but you can add a "px" value like the others.). Finally, you can edit the height of the form on the blue marked area.

    On the following, you can see the final version of your form:


    If you need any extra help, please do let us know.


  • Profile Image

    Answered by zipout on March 16, 2016 at 05:10 PM

    My problem seems coming from preview window. I tried a lot of combination following your advise.

    Other question: is it possible to have the buttons on the same line?

  • Profile Image
    JotForm Support

    Answered by Mike on March 16, 2016 at 07:07 PM

    It looks better on a physical mobile device:

    Landscape view:

    Unfortunately, the preview tool will not always simulate the mobile view correctly compared to the actual device.

    If you need any further assistance on this, please let us know.