I'm trying to freeze the THEAD section of my table so that as I scroll, the THEAD is always visible. I've accomplished this by attaching an event handler to the scroll event in jQuery which sets the top position of the THEAD to the scroll offset:
$(".scroll").scroll(function () {
    $("#header thead").css({"top": ($(".scroll").scrollTop()) + "px"});
});
You can see it in action at this FIDDLE
 
     
    