Minimum width of first table column
I was surprised to find out that min-width
doesn't do the trick. However, after playing with it for a while, I came across this solution:
td:first-child {
width: 40%;
white-space: nowrap;
}
I would suggest you to try this to fix the table width in css
table-layout:fixed;
and in JavaScript syntax is: object.style.tableLayout="fixed"