<!DOCTYPE html>
<html>
<head>
<style>
table, td {
    border: 1px solid black;
}


#myTABLE {
    width: 100%;
}

</style>
</head>
<body>

<p>Click the "Try it" button to return the value of the table-layout property.</p>

<table id="myTABLE" style="table-layout:fixed;">
  <tr>
    <td>1000000000000000000000000000</td>
    <td>10000000</td>
  </tr>
  <tr>
    <td>John</td>
    <td>Smith</td>
  </tr>
  <tr>
    <td>Jane</td>
    <td>Doe</td>
  </tr>
</table>
<br>

<button type="button" onclick="myFunction()">Return table layout</button>

<script>
function myFunction() {
    alert(document.getElementById("myTABLE").style.tableLayout);
}
</script>

</body>
</html>