Note: I realize very similar questions have been asked, but the mobile web is young and volatile, and those discussions being a couple of years old are likely out of date.
I'm trying to create a simple scrolling <div>
in the Android browser- what would be a accomplished by giving it a fixed size and overflow-y: auto
in a compliant browser. Unfortunately, mobile Webkit browsers don't seem to support that attribute. How else can I create this functionality or something equivalent?
I'd prefer a CSS solution if possible. I've seen the JavaScript widgets iScroll and Dojo Mobile lists but those seem like overkill for what I'm trying to do. The iScroll page mentions that "latest Android revisions are supporting this functionality (although support is not optimal)" so I wonder if Android 4.0 might have fixed this problem.