I know that this is literally a year later, but I decided that I would share it. I tried to do the same and came across this solution which worked for me. We set the maximum width for the entire table, and then process the cell sizes for the desired effect.
Place the table in your own div, then set the width, minimum width and / or maximum width of the div as required for the entire table. Then you can work and set the width and the minimum width for other cells, and the maximum width for the div to work efficiently and backward to achieve the maximum width we wanted.
<div id="tablediv"> <table width="100%"> <tr> <td class="tdleft">Test</td> <td>A long string blah blah blah</td> </tr> </table> </div>
Then in your styles, put:
#tablediv { width:90%; min-width:800px max-width:1500px; } .tdleft { width:20%; min-width:200px; }
Admittedly, this does not give you the maximum cell width per se, but it does allow some controls that may work instead of this option. Not sure if it will work for your needs. I know that this worked for our situation, when we want the navigation side on the page to scale up and down to a point, but for all wide screens these days.
Damon Dec 11 2018-12-12T00: 00Z
source share