Lo script è ottimo..solo che io sono proprio negato con questi css. Vorrei personalizzarlo con uno stile carino, ma ho il problema sia ad allineare le colonne (quelle q2 dell'header con le q4 del contenitore), sia ad aumentare le celle automaticamente in base allo spazio che occupa il testo 
index.html
codice:
<html>
<head>
<link rel="stylesheet" href="X1.css" type="text/css">
<script src="X/jquery-1.7.min.js"></script>
<script>
$(document).ready(function(){
$('.q4').bind('scroll', fnscroll);
$('.q2').html($('.q4').html());
$('.q3').html($('.q4').html());
});
function fnscroll(){
$('.q2').scrollLeft($('.q4').scrollLeft());
$('.q3').scrollTop($('.q4').scrollTop());
}
</script>
</head>
<body>
<div class="q1"><div class="container"></div></div>
<div class="q2"><div class="container"></div></div>
<div class="q3"><div class="container"></div></div>
<div class="q4">
<div class="container">
<table>
<thead>
<tr>
<td class="firstCol"> </td>
<td>Col1</td>
<td>Col2</td>
<td>Col3</td>
<td>Col4</td>
<td>Col5</td>
<td>Col6</td>
<td>Col7</td>
<td>Col8</td>
</tr>
</thead>
<tbody>
<tr>
<td class="firstCol">Row152</td>
<td>this is some content part</td>
<td>hello world!<br/>This is good</td>
<td>Row_1</td>
<td>adjfljaf oj eoaifj </td>
<td>ajsdlfja oije</td>
<td>alsdfjaoj f</td>
<td>jadfioj</td>
<td>jalsdjf oai</td>
</tr>
<tr>
<td class="firstCol">Row1523</td>
<td>this is some content</td>
<td>hello world!<br/>This is good</td>
<td>Row 152</td>
<td>adjfljaf oj eoaifj </td>
<td>ajsdlfja oije</td>
<td>alsdfjaoj f</td>
<td>jadfioj</td>
<td>jalsdjf oai</td>
</tr><tr>
<td class="firstCol">Row55358</td>
<td>this is some content</td>
<td>hello world!<br/>This is good</td>
<td>Row</td>
<td>adjfljaf oj eoaifj </td>
<td>ajsdlfja oije</td>
<td>alsdfjaoj f</td>
<td>jadfioj</td>
<td>jalsdjf oai</td>
</tr><tr>
<td class="firstCol">Row</td>
<td>this is some content</td>
<td>hello world!<br/>This is good</td>
<td>Row</td>
<td>adjfljaf oj eoaifj </td>
<td>ajsdlfja oije</td>
<td>alsdfjaoj f</td>
<td>jadfioj</td>
<td>jalsdjf oai</td>
</tr><tr>
<td class="firstCol">Row</td>
<td>this is some content</td>
<td>hello world!<br/>This is good</td>
<td>Row</td>
<td>adjfljaf oj eoaifj </td>
<td>ajsdlfja oije</td>
<td>alsdfjaoj f</td>
<td>jadfioj</td>
<td>jalsdjf oai</td>
</tr><tr>
<td class="firstCol">Row</td>
<td>this is some content</td>
<td>hello world!<br/>This is good</td>
<td>Row</td>
<td>adjfljaf oj eoaifj </td>
<td>ajsdlfja oije</td>
<td>alsdfjaoj f</td>
<td>jadfioj</td>
<td>jalsdjf oai</td>
</tr><tr>
<td class="firstCol">Row</td>
<td>this is some content</td>
<td>hello world!<br/>This is good</td>
<td>Row</td>
<td>adjfljaf oj eoaifj </td>
<td>ajsdlfja oije</td>
<td>alsdfjaoj f</td>
<td>jadfioj</td>
<td>jalsdjf oai</td>
</tr><tr>
<td class="firstCol">Row</td>
<td>this is some content</td>
<td>hello world!<br/>This is good</td>
<td>Row</td>
<td>adjfljaf oj eoaifj </td>
<td>ajsdlfja oije</td>
<td>alsdfjaoj f</td>
<td>jadfioj</td>
<td>jalsdjf oai</td>
</tr>
</tbody>
</table>
</div>
</div>
</body>
</html>
X1.css
codice:
body {width:400px;}
.q1, .q2, .q3, .q4 {overflow:hidden; display:block; float:left;}
.q1 {width:64px; height: 20px;}
.q2 {width:300px; height: 20px;}
.q3 {width:64px; height: 100px;}
.q4 {width:300px; height: 120px; overflow:auto;}
.container {width:9999px;}
.q2 .firstCol, .q3 thead, .q4 thead, .q4 .firstCol {display:none;}
.q1 td {
text-align:center;
border: 1px solid #DDD;
background: #F6F6F6;
}
.q2 td {
font-family: Verdana;
font-weight: normal;
font-size: 12px;
text-align:center;
border: 1px solid #DDD;
background: steelblue;
font-weight: bold;
color: white;}
.q3 td {
font-family: Arial;
font-weight: normal;
font-size: 12px;
text-align:center;
border: 1px solid #DDD;
background: #F6F6F6;
font-weight: lighter;
color: #0073EA;}
.q4 td {
text-align:center;
border: 1px solid #DDD;
background: white;
font-weight: normal;
color: black;
}
table{
border: 1px solid #DDD;
border-spacing:0px;
border-style: solid;
border-color: #cfcfcf;
border-collapse: collapse;
background-color: transparent;
}
un aiutino?