Click to See Complete Forum and Search --> : coding question


ecross
11-21-2003, 08:46 AM
When defining tables width and height, which is better? Defining by number of pixels or by percentage.

For example:

<table width="500" height="600">
<tr>
<td></td>
</tr>
</table>

-or-

<table width="100%" height="100%">
<tr>
<td></td>
</tr>
</table>

Shto
11-21-2003, 09:11 AM
Neither and both.
That is more a matter of preference. I like to use a number like 792 but often I put tables inside of tables so any table I put inside my table I will set to %100 so it will fill the cell it is in from edge to edge.