Table formatting without css
I have a table defined with 100% width.
<table border="1" width="100%" height="auto">
<tr>
<th>Header</th>
<th>Header</th>
</tr><tr>
<td>Body</td>
<td>Body</td>
</tr>
</table>I have a table defined with 100% width.<table border="1" width="200px" height="auto">
<tr>
<th>Header</th>
<th>Header</th>
</tr>
<tr>
<td>Body</td>
<td>Body</td>
</tr>
</table>
<center>
<table border="1" cellspacing="0" cellpadding="0" width="100%" align="center">
<tr>
<th>Header</th>
<th>Header</th>
</tr>
<tr>
<td>Body</td>
<td>Body</td>
</tr>
</table>
</center>
Comments
Post a Comment