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 to change size of cells in a matrix table?

    Asked by Forthenvironmentlink on January 30, 2013 at 10:08 AM

    form ID 30223228868354

     

    Hello,

     

    I have two tables and want to change the columns but I want to have different sizes for each colummn, is that possible?

    Many thanks

     

    Amparo

  • Profile Image
    JotForm Support

    Answered by EltonCris on January 30, 2013 at 11:55 AM

    Hi Amparo,

    Did you checked my last response on your previous thread? http://www.jotform.com/answers/94995-How-do-I-change-the-size-of-text-boxes-in-a-specified-matrix-table-without-affecting-everything

    --

    You could also try this code. I have labeled the codes so you can identity which column is the code for.

    .form-matrix-values {

    padding-left: 8px;

    padding-right: 8px;

    }

    /*-first column width-*/

    .form-matrix-values .form-textbox {

    width: 100px;

    }

    /*-2nd column width-*/

    .form-matrix-values +

    .form-matrix-values .form-textbox {

    width: 200px;

    }

    /*-3rd column width-*/

    .form-matrix-values +

    .form-matrix-values +

    .form-matrix-values .form-textbox {

    width: 100px;

    }

    /*-4th column width-*/

    .form-matrix-values +

    .form-matrix-values +

    .form-matrix-values +

    .form-matrix-values .form-textbox {

    width: 100px;

    }

    /*-5th column width-*/

    .form-matrix-values +

    .form-matrix-values +

    .form-matrix-values +

    .form-matrix-values +

    .form-matrix-values .form-textbox {

    width: 100px;

    }

    Guide: How to Inject Custom CSS Codes to your Form

    Just change the width values for each columns to adjust them.

    Thanks!

  • Profile Image

    Answered by Forthenvironmentlink on February 01, 2013 at 06:23 AM

    Hello Elton Chris,

     

    Thanks for your help. Apologies for asking twice but I didn't see the other reply for some reason I didn't get an email notification that's why I missed it.

    Amparo