gsmadi — 2011-10-03T23:13:48-04:00 — #1
How does facebook manage to have all the content of the page scrollable except the top nav bar and chat?
ralphm — 2011-10-04T03:42:49-04:00 — #2
Basically with position: fixed:
position: fixed !important;
gsmadi — 2011-10-04T18:55:38-04:00 — #3
Soo this means the any element with this will just stay on the browser window even if your scrolling down?
ralphm — 2011-10-04T19:11:37-04:00 — #4
Yes, that's the point of position: fixed. It doesn't work in some browsers, though, like IE6 and iPhone.
gsmadi — 2011-10-04T19:15:05-04:00 — #5
system — 2014-10-07T21:29:53-04:00 — #6
This topic is now closed. New replies are no longer allowed.