hey folks, i m working on a table, its scrollabe. but i am having hard time aligning things, it should align coz the td and th widths are same but they not aligning. here is the code
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style type="text/css">
.bx{margin:50px 0 0 2%;height:300px;width:1020px; background:#d5e5f0; position:relative; padding-top:60px; margin-top:10px; overflow:hidden;}
.scroll-Data{height:50px; width:100%; overflow:auto;}
thead{position:absolute; top:0px; height:30px; width:1001px;}
th.part,.desc,.mfc,.unit,.unit,.qty,.total{ text-align:center;border:1px solid #09C;}
th.part{width:120px;}
th.desc{width:400px;}
th.mfc{width:175px;}
th.unit{width:175px;}
th.qty{width:50px;}
th.total{width:175px;}
td.part,.desc,.mfc,.unit,.unit,.qty,.total{ text-align:center;border:1px solid #09C;}
td.part{width:120px;}
td.desc{width:400px;}
td.mfc{width:175px;}
td.unit{width:175px;}
td.qty{width:50px;}
td.total{width:175px;}
</style>
</head>
<body>
<div class="bx">
<div class="scroll-Data">
<table>
<thead>
<tr>
<th class="part"><p>Part No.</p></th>
<th class="desc"><p>Description</p></th>
<th class="mfc"><p>Manufacture</p></th>
<th class="qty"><p>Qty. Ordered</p></th>
<th class="qty"><p>Qty. Approved</p></th>
<th class="total"><p>Total</p></th>
</tr>
</thead>
<tbody>
<tr>
<td class="part">aaa</td>
<td class="desc">aaa</td>
<td class="mfc">aaa</td>
<td class="qty">aaa</td>
<td class="qty">aaa</td>
<td class="total"></td>
</tr>
<tr>
<td class="part">bbb</td>
<td class="desc">bbb</td>
<td class="mfc">bbb</td>
<td class="qty">bb</td>
<td class="qty">bb</td>
</tr>
<tr>
<td class="part">vvvvvvv</td>
<td class="desc">ccccccccccc</td>
<td class="mfc">cccccccccccc</td>
<td class="qty">cccccccccccc</td>
<td class="qty">ccccccccccccc</td>
</tr>
<tr>
<td class="part">aaa</td>
<td class="desc">aaa</td>
<td class="mfc">aaa</td>
<td class="qty">aaa</td>
<td class="qty">aaa</td>
</tr>
<tr>
<td class="part">bbb</td>
<td class="desc">bbb</td>
<td class="mfc">bbb</td>
<td class="qty">bb</td>
<td class="qty">bb</td>
</tr>
<tr>
<td class="part">vvvvvvv</td>
<td class="desc">ccccccccccc</td>
<td class="mfc">cccccccccccc</td>
<td class="qty">cccccccccccc</td>
<td class="qty">ccccccccccccc</td>
</tr>
</tbody>
</table>
</div>
</div>
</body>
where am i going wrong?