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

Popular posts from this blog

Get Post Data From Simple Post custom shortcode

Top 20 Beautiful Pen For Writing

Fatal error: Maximum execution time of 300 seconds exceeded in C:\xampp\phpMyAdmin\libraries\classes\Dbi\DbiMysqli.php on line 199