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!
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