'table-layout' Example : table layout : CSS Attributes and Javascript Style Properties HTML CSS TUTORIALS


HTML CSS TUTORIALS » CSS Attributes and Javascript Style Properties » table layout »

 

'table-layout' Example



    
<html>
<body>
<table style="table-layout:fixed" width="400">
   <col width="150">
   <col width="400">
   <col width="200">
   <thead height="20">
   <tr>
      <th>150px wide column</th>
      <th>400px wide column</th>
      <th>200px wide column</th>
   </tr>
   </thead>
   <tr height="20"
      <td>Cell content</td>
      <td>Cell content</td>
      <td>Cell content</td>
   </tr>
</table>
</body>
</html>

    
      
      



HTML code for linking to this page:

Follow Navioo On Twitter

HTML CSS TUTORIALS

 Navioo CSS Attributes and Javascript Style Properties
» table layout