views:

29

answers:

3

Hi,

I want the header of a page to be of fixed positioned when a user scrolls to a certain point in the page.

This functions correctly in all browsers bar IE6 :(

View the code here:

http://jsfiddle.net/vZBSg/4/

A: 

Well kind of jerky but it works:

http://jsfiddle.net/vZBSg/5/

RyanP13
That jsfiddle.net rocks by the way, thanks for that.
Frank Malina
I use it all the time now. Much easier to demo problems etc. Would love to see some sort of intellisense implemented :)
RyanP13
+1  A: 

position:fixed was not implemented in IE6. There is a CSS only workaround http://ryanfait.com/position-fixed-ie6/

Frank Malina
I sort of tried that but it didn't seem to work. Will take a proper look tomorrow.
RyanP13
A: 

Hi,

Check http://s7u.blogspot.com , it has full information about scrollable tables. It uses CSS and JavaScript to make table scrollable. It has fixed header, footer and fixed columns.

Regards, Shahib

Shahib