CSS Tutorial

CSS Style

CSS Layout Style

CSS Float Style

CSS Reference

CSS table-layout property




The CSS table-layout property set the fixed the table.


Property Values


Properties Value Description
Syntax table-layout:value;
value   fixed
  auto
  inherit
Allow to Only Table related elements
Inherited No

Example-Code:

<table style="table-layout:fixed;width:375px;" border="1">
  <tr height="30">
    <td width="125">table layout cell 1</td>
    <td width="125">table layout cell 2</td>
    <td width="125">table layout cell 3</td>
  </tr>
</table>
Online Try This Code Your Self....   »

Example-Result:

table layout cell 1 table layout cell 2 table layout cell 3