Table layout

Browser render a table according the value of the table-layout property.

The possible values are

auto(default) First the table data is read, then the row and cell data is complete rendered using the minimum necessary space.
fixedFirst, the table rows and cells are rendered using the specified values for width and height, then the table data is rendered using the existing space.

*{border: 1px solid gray;}
table td{width:50px;}
table tr{height:50px;}
<table class="col1">
<tr><td>data 1<td>data 2<td>data 3
<tr><td>data 4<td>data 5<td>data 6

<table class="col2">
<tr><td>data 1<td>data 2<td>data 3
<tr><td>data 4<td>data 5<td>data 6
Related Tutorial
Follow Us #