<html>
<head>
<style type="text/css">
div.tableContainer {
clear: both;
border: 1px solid #963;
height: 100px;
overflow: auto;
width: 760px;
}
thead.fixedHeader tr {
position: relative
}
thead.fixedHeader th {
background: #ffffff;
padding: 4px 3px;
text-align: left
}
</style>
</head>
<body>
<div id="tableContainer" class="tableContainer">
<table border="1"> <!-- table for correct scrolling -->
<thead class="fixedHeader">
<tr> <!-- heading of result table -->
<th style="width: 33px"><p> </p></th>
<th style="width: 135px"><p>Header 1</p></th>
<th style="width: 100px"><p>Header 2</p></th>
<th style="width: 135px"><p>Header 3</p></th>
<th style="width: 135px"><p>Header 4</p></th>
</tr> <!-- end heading of result table -->
</thead>
<tbody class="scrollContent">
<tr> <!-- contents of results table -->
<td style="width: 33px"><p><input type="checkbox"/></p></td>
<td style="width: 135px"><p>content 1</p></td>
<td style="width: 100px"><p>content 2</p></td>
<td style="width: 135px"><p>content 3</p></td>
<td style="width: 135px"><p>content 4</p></td>
</tr> <!-- end contents of results table -->
<tr> <!-- contents of results table -->
<td style="width: 33px"><p><input type="checkbox"/></p></td>
<td style="width: 135px"><p>content 1</p></td>
<td style="width: 100px"><p>content 2</p></td>
<td style="width: 135px"><p>content 3</p></td>
<td style="width: 135px"><p>content 4</p></td>
</tr> <!-- end contents of results table -->
<tr> <!-- contents of results table -->
<td style="width: 33px"><p><input type="checkbox"/></p></td>
<td style="width: 135px"><p>content 1</p></td>
<td style="width: 100px"><p>content 2</p></td>
<td style="width: 135px"><p>content 3</p></td>
<td style="width: 135px"><p>content 4</p></td>
</tr> <!-- end contents of results table -->
<tr> <!-- contents of results table -->
<td style="width: 33px"><p><input type="checkbox"/></p></td>
<td style="width: 135px"><p>content 1</p></td>
<td style="width: 100px"><p>content 2</p></td>
<td style="width: 135px"><p>content 3</p></td>
<td style="width: 135px"><p>content 4</p></td>
</tr> <!-- end contents of results table -->
<tr> <!-- contents of results table -->
<td style="width: 33px"><p><input type="checkbox"/></p></td>
<td style="width: 135px"><p>content 1</p></td>
<td style="width: 100px"><p>content 2</p></td>
<td style="width: 135px"><p>content 3</p></td>
<td style="width: 135px"><p>content 4</p></td>
</tr> <!-- end contents of results table -->
</tbody>
</table> <!-- end table for correct scrolling -->
</div>
</body>
</html>