This javascript allows to have tables with body scroll and fixed floating header over it.

Click here to see the demo.

This script requires the table to have head definition, and to be placed inside a div to work with the same parameters for all browsers.
Div height can be specify in percent or pixels.

This version was tested and works for last versions of all browsers under windows and mac (opera,mozilla,safari,chrome and ie8).

Download the Source Files