stavo per postati l'esempio e i link di riferimento
quando ho scoperto che su IE7 NON FUNZIONA
e dire che si trattava proprio di un esempio fixato per IE6...
ma no: Explorer deve fare sempre "a modo suo", non rispettare gli standard pare sia un'imperativo! :berto:
allora ti scrivo un esempio utile per te ma semanticamente scorretto.
nel senso che quello che metti in TabellaTitoli avrebbe dovuto starsene i thead e il resto in tbody scrollabile, quindi avere una tabella strutturata.
ora invece avrai due tabelle una sull'altra; ma almeno funziona.
se poi scopro come farlo funzionare correttamente anche su IE lo scriverò...
codice:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Nuova pagina 1</title>
<style type=text/css>
table#TabellaTitoli {width:100px;}
table#TabellaDati {width:100px;}
div#ContenitoreTabellaDati {height:100px; width:116px; overflow:auto;}
</style>
</head>
<body>
<table id=TabellaTitoli>
<tr>
<td>asd</td>
<td>asd</td>
<td>asd</td>
</tr>
</table>
<div id=ContenitoreTabellaDati>
<table id=TabellaDati>
<tr>
<td>asd</td>
<td>asd</td>
<td>asd</td>
</tr>
<tr>
<td>asd</td>
<td>asd</td>
<td>asd</td>
</tr>
<tr>
<td>asd</td>
<td>asd</td>
<td>asd</td>
</tr>
<tr>
<td>asd</td>
<td>asd</td>
<td>asd</td>
</tr>
<tr>
<td>asd</td>
<td>asd</td>
<td>asd</td>
</tr>
<tr>
<td>asd</td>
<td>asd</td>
<td>asd</td>
</tr>
<tr>
<td>asd</td>
<td>asd</td>
<td>asd</td>
</tr>
<tr>
<td>asd</td>
<td>asd</td>
<td>asd</td>
</tr>
<tr>
<td>asd</td>
<td>asd</td>
<td>asd</td>
</tr>
<tr>
<td>asd</td>
<td>asd</td>
<td>asd</td>
</tr>
<tr>
<td>asd</td>
<td>asd</td>
<td>asd</td>
</tr>
<tr>
<td>asd</td>
<td>asd</td>
<td>asd</td>
</tr>
<tr>
<td>asd</td>
<td>asd</td>
<td>asd</td>
</tr>
</table>
</div>
</body>
</html>