How to change size of cells in a matrix table?

  • Profile Image
    Forthenvironmentlink
    Asked 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
    EltonCris
    Answered 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
    Forthenvironmentlink
    Answered 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