UseCase: To Fix / freeze table or div headers, This can be achieved using plain HTML and CSS.

Sample Output

For visualforce page click here