Even if you're using a table, it's still best to set the presentational attributes via CSS:
Code:
td.details {
width:25%;
}
...
<table>
<tr>
<td class="name">Employee Name</td>
<td class="details">...</td>
</tr>
</table>
You can set the width of the column in both relative and fixed terms. Use % if you want the column to get bigger when the page is resized horizontally (like above).
Use em if you want the column to always stay proportional to the size of the text. (This is often the best if your layout is flexible)-- width:30em;
And use px if you want the column to just stay the same size-- width:250px;
Bookmarks