Center Align Table Columns & Rows

  • Profile Image
    fcstl
    Asked on February 18, 2015 at 08:20 PM

    What CSS can I inject that will allow me to center align columns in a table as well as vertically center align rows? Thanks!

  • Profile Image
    Shadae
    Answered on February 18, 2015 at 11:47 PM

    Hi fcstl,

    To confirm, you would like to center the text for your rows both vertically and horizontally?

    If that is the case, please inject the following CSS Code:

    .form-matrix-row-headers {

    text-align: center;

    vertical-align: middle;

    }

    If you would like it for to be for the fields that you filled out please inject the following CSS code:

    .form-matrix-values {

        text-align: center;

       vertical-align: middle;

    }

    I hope this helps! Please inform us if you need further assistance.