Fixed HTML
July 13, 2009 · Print This Article
We’ve found a way to fix the HTML so it doesn’t scroll (just like a native app) based on these two excellent blogs, which pioneered the concept:
- http://doctyper.com/archives/200808/fixed-positioning-on-mobile-safari/
- http://cubiq.org/scrolling-div-on-iphone-ipod-touch/5
You can download this zip file which has the javascript and CSS to do this, which is based on the links above.

Comments
Got something to say?