Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #742362

    I am using a table that is using tabular data. I am trying to set up each column (4 total) with different % widths. I cannot find anyway to do this. I have tried this:

    tr th:first-child, tr td:first-child {
        border-left-width: 0px;
        max-width: 35 !important;
    }

    but that does nothing.

    Any help would be great. Thanks!

    #744230

    Hey sublime5o,

    Yes, it doesn’t work because you use max-width instead of width (max-width is used to set the limit) also you didn’t put px or % after 35. However, if you change it, this would affect every table of your pages, I suggest you use custom css classes: http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/ then probably put a class name for example mytable and have this code:

    .mytable tr th:first-child, 
    .mytable tr td:first-child {
        border-left-width: 0px;
        width: 35% !important;
    }

    HOpe this helps :)

    Best regards,
    Nikko

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.