<style type="text/css">
<!--
.divHead{overflow:hidden;position:absolute;z-index:1;height:40px;width:expression(document.body.clientWidth-27)}
.divBody{overflow:scroll;position:absolute;z-index:0;height:100%;width:100%}
-->
</style>
<body onresize="rx()" onload="rx()" style="margin-left:0px;margin-top:0px;overflow:hidden">
<div class="divHead" id="divHead">
<table border=1 cellspacing=0 cellpadding=0 id=htable bgcolor="#00FFFF" style="border-collapse: collapse" height=40 bordercolor="#111111">
<tr>
<td norap id="td1">aaaaaaaaaa</td>
<td norap>aaaaaaaaaa</td>
<td norap>aaaaaaaaaa1</td>
<td norap>aaaaaaaaaa2</td>
<td norap>aaaaaaaaaa3</td>
<td norap>aaaaaaaaaa4</td>
</tr>
</table>
</div>
<div class="divBody" id="divBody" onscroll="bodyScrl()">
<table border="1" cellspacing=0 cellpadding=0 id="dtable" width=1222 height=888 bgcolor="#C0C0C0" bordercolor="#111111" style="border-collapse: collapse">
<tr>
<td>ddddddddddd</td>
<td>ddddddddddd</td>
<td>ddddddddddd</td>
<td>ddddddddddd</td>
<td>ddddddddddd</td>
<td>ddddddddddd</td>
</tr>
<tr>
<td>ddddddddddd</td>
<td>ddddddddddd</td>
<td>ddddddddddd</td>
<td>ddddddddddd</td>
<td>ddddddddddd</td>
<td>ddddddddddd</td>
</tr>
<tr>
<td>ddddddddddd</td>
<td>ddddddddddd</td>
<td>ddddddddddd</td>
<td>ddddddddddd</td>
<td>ddddddddddd</td>
<td>ddddddddddd</td>
</tr>
<tr>
<td>ddddddddddd</td>
<td>ddddddddddd</td>
<td>ddddddddddd</td>
<td>ddddddddddd</td>
<td>ddddddddddd</td>
<td>ddddddddddd</td>
</tr>
<tr>
<td>ddddddddddd</td>
<td>ddddddddddd</td>
<td>ddddddddddd</td>
<td>ddddddddddd</td>
<td>ddddddddddd</td>
<td>ddddddddddd</td>
</tr>
<tr>
<td>ddddddddddd</td>
<td>ddddddddddd</td>
<td>ddddddddddd</td>
<td>ddddddddddd</td>
<td>ddddddddddd</td>
<td>ddddddddddd</td>
</tr>
<tr>
<td>ddddddddddd</td>
<td>ddddddddddd</td>
<td>ddddddddddd</td>
<td>ddddddddddd</td>
<td>ddddddddddd</td>
<td>ddddddddddd</td>
</tr>
<tr>
<td>ddddddddddd</td>
<td>ddddddddddd</td>
<td>ddddddddddd</td>
<td>ddddddddddd</td>
<td>ddddddddddd</td>
<td>ddddddddddd</td>
</tr>
<tr>
<td>ddddddddddd</td>
<td>ddddddddddd</td>
<td>ddddddddddd</td>
<td>ddddddddddd</td>
<td>ddddddddddd</td>
<td>ddddddddddd</td>
</tr>
<tr>
<td>ddddddddddd</td>
<td>ddddddddddd</td>
<td>ddddddddddd</td>
<td>ddddddddddd</td>
<td>ddddddddddd</td>
<td>ddddddddddd</td>
</tr>
<tr>
<td>ddddddddddd</td>
<td>ddddddddddd</td>
<td>ddddddddddd</td>
<td>ddddddddddd</td>
<td>ddddddddddd</td>
<td>ddddddddddd</td>
</tr>
<tr>
<td>ddddddddddd</td>
<td>ddddddddddd</td>
<td>ddddddddddd</td>
<td>ddddddddddd</td>
<td>ddddddddddd</td>
<td>ddddddddddd</td>
</tr>
<tr>
<td>ddddddddddd</td>
<td>ddddddddddd</td>
<td>ddddddddddd</td>
<td>ddddddddddd</td>
<td>ddddddddddd</td>
<td>ddddddddddd</td>
</tr>
</table>
</div>
<script>
function bodyScrl(){
divHead.scrollLeft = divBody.scrollLeft;
}
function rx(){
 htable.width = dtable.offsetWidth;
 for(var i=0; i<htable.rows(0).cells.length; i++){
  htable.rows(0).cells(i).width=dtable.rows(0).cells(i).offsetWidth;
 }
}
</script>