Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #489067

    I have made 4 tables on one page, there are 2 columns in each table. However, the width of the columns are different in each table.
    How can I set the width of the columns, so they are the same among the 4 tables? there are other tables on other pages, that should not be affected. Thanks in advance !

    here is the page

    #489119

    Hi Juliandaddy!

    Drag a codeblock element to the page and add this inside.

    <style type = "text/css">
    tr > td:last-child {
        width: 25% !important;
    }
    </style>

    Best regards,
    Elliott

    #489295

    works fine, perfect, that is what I wanted! thank you very much

    but 1 little problem remains:

    the first table has only one row. This row is not affected by the code, I put into the codeblock.The column width differs from the other tables and also when the table is displayed on a smartphone, the line does not wrap around like all other Table elemets do.

    As a workaround I added a second row, now it works but it does not look so nice. Is there anay solution?

    best regards

    Juliandaddy

    • This reply was modified 9 years, 4 months ago by Juliandaddy.
Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘same column width in different tables on one page’ is closed to new replies.