You can use table
align property
to set the table
left
,
right
or
center
of the page
if you want to use CSS,
<table>
<tr>
<th>Month</th>
<th>Savings</th>
</tr>
<tr>
<td>January</td>
<td>$100</td>
</tr>
<tr>
<td>February</td>
<td>$80</td>
</tr>
</table>
To align center,
table{
margin-left: auto;
margin-right: auto;
}
To align left
table{
position: absolute;
left: 0px;
}
or
table{
float: left;
}
To align right
table{
position: absolute;
right: 0px;
}
or
table{
float: right;
}
To divide page into two vertical columns
<div style = "width=100%">
<div style= "float:left;width:50%;"></div>
<div style= "float:left;width:50%;"></div>
</div>