ShawnMolloy
MIS
Hello,
What is the best way to create a table like effect using XHTML? Do you remember the old table layout method of creating a complex data container? This was great because you could assign static width elements and the remaining table contains would resize and flow to fit its containing table.
What method is the best for replicating this using CSS?
Shawn Molloy
Seattle, WA
What is the best way to create a table like effect using XHTML? Do you remember the old table layout method of creating a complex data container? This was great because you could assign static width elements and the remaining table contains would resize and flow to fit its containing table.
What method is the best for replicating this using CSS?
Code:
<table width="100%">
<!-- header row -->
<tr>
<td>File Name</td> <!-- this will auto resize -->
<td width="25">File Size</td>
<td width="25">Action</td>
</tr>
<!--/header row -->
<!-- data -->
<tr>
<td>My File</td>
<td width="25">725kb</td>
<td width="25">Edit | Delete</td>
</tr>
<!--/data -->
</table>
Shawn Molloy
Seattle, WA