JSFiddle - React, Tailwind, and code Playground

HTML

<p>table width 100%, cell width *:</p>
<table border="1" width="100%">
    <tr>
        <td width="100">100</td>
        <td width="*">short text</td>
        <td width="*">longer text, longer text, longer text, longer text</td>
    </tr>
</table>
<p>table width 100%, first cell width *, second cell width not set:</p>
<table border="1" width="100%">
    <tr>
        <td width="100">100</td>
        <td width="*">short text</td>
        <td>longer text, longer text, longer text, longer text</td>
    </tr>
</table>
<p>table width 100%, first cell width not set, second cell width *:</p>
<table border="1" width="100%">
    <tr>
        <td width="100">100</td>
        <td>short text</td>
        <td width="*">longer text, longer text, longer text, longer text</td>
    </tr>
</table>
<p>table width 100%, cell width not set:</p>
<table border="1" width="100%">
    <tr>
        <td width="100">100</td>
        <td>short text</td>
        <td>longer text, longer text, longer text, longer text</td>
    </tr>
</table>
<p>table width not set, cell width *:</p>
<table border="1">
    <tr>
        <td width="100">100</td>
        <td width="*">short text</td>
        <td width="*">longer text, longer text, longer text, longer text</td>
    </tr>
</table>
<p>table width not set, first cell width *, second cell width not set:</p>
<table border="1">
    <tr>
        <td width="100">100</td>
        <td width="*">short text</td>
        <td>longer text, longer text, longer text, longer text</td>
    </tr>
</table>
<p>table width not set, first cell width not set, second cell width *:</p>
<table border="1">
    <tr>
        <td width="100">100</td>
        <td>short text</td>
        <td width="*">longer text, longer text, longer text, longer text</td>
    </tr>
</table>
<p>table width not set, cell width not set:</p>
<table border="1">
    <tr>
        <td width="100">100</td>
        <td>short text</td>
        <td>longer text, longer text, longer text, longer text</td>
   ...

CSS

body { font-family: sans-serif; }
p { margin-bottom: 0; }