Auto width on tables
Posted
by Hulk
on Stack Overflow
See other posts from Stack Overflow
or by Hulk
Published on 2010-05-19T06:07:34Z
Indexed on
2010/05/19
6:10 UTC
Read the original article
Hit count: 438
A html table cols and rows are generated dynamically,
i.e, for the first instance it could be two rows and there columns. and next time it could be two rows and 10 columns
My question is how to adjust the with automatically of the table so that the table always appears 100% in the page adjusting the coulmn size and row size
<table>
<tr><td></td><td></td><td></td></tr>
<tr><td></td><td></td><td></td></tr>
</table>
<table>
<tr><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr>
<tr><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr>
<tr><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr>
</table>
Thanks..
© Stack Overflow or respective owner