I have HTML page that appears in browser as:
I want to make the page to appear centered and compact as:
I made the borders visible in the first picture to reveal the structure.
Here is the HTML source code:
<html>
<head>
<title></title>
</head>
<body>
<div id="body">
<div id="masthead">
<table border="1" cellpadding="0" cellspacing="0" width="20%">
<tbody>
<tr>
<td><b>Shipment #</b></td>
<td>ADD TEXT</td>
</tr>
<tr>
<td><b>Invoice #</b></td>
<td>ADD TEXT</td>
</tr>
<tr>
<td><b>Customer PO</b></td>
<td>ADD TEXT</td>
</tr>
</tbody>
</table>
<br/>
<h1 align="center">PACKING LIST</h1>
<table border="1" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td width="50%"><b><u>Package Consists the Following Items:</u><br/><br/></b></td>
</tr>
</tbody>
</table>
<table border="1" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td width="7%">1.</td>
<td>Item Name</td>
<td>Show Qty.</td>
</tr>
<tr>
<td width="7%">2.</td>
<td>Item Name</td>
<td>Show Qty.</td>
</tr>
<tr>
<td width="7%">3.</td>
<td>Item Name</td>
<td>Show Qty.</td>
</tr>
</tbody>
</table>
<br/><br/>
<table border="1" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td width="30%"><b><u>Distributor</u></b></td>
<td><b><u>Printed on</u></b></td>
</tr>
<tr>
<td><b><font color="#333399">SAMPLE COMPANY</font></b></td>
<td>5/3/2010</td>
</tr>
</tbody>
</table>
</body>
</html>