Android Web App : Position:fixed broken?
Posted
by StevenGilligan
on Stack Overflow
See other posts from Stack Overflow
or by StevenGilligan
Published on 2010-05-06T22:15:39Z
Indexed on
2010/05/06
22:18 UTC
Read the original article
Hit count: 391
Hi all,
I'm in the process of developping a Web Application for mobiles. I went with web applications because to me it seems a winning situation having to develop one application that could run also on iPhone / Windows Mobile / Palm etc.
I started testing today after a few days of doing concepts, ideas and designs and what I wanted to do was have a menu that sticks at the bottom of the page. Exactly like the menu on the bottom in this iPhone application screenshot : http://farm4.static.flickr.com/3094/2656904921_1c54e93b4f.jpg
Using CSS, I though it would be really easy to do this. Only using position:fixed; bottom:0; would have done the trick but I have found it doesn't behave the same on mobile browsers
I tried to split my page in 2 sections : 1 would be a scrollable div (for the content) and the other one would be the bottom menu. Scrollable divs also do not work on Android. I also tried using frames with no luck either. Does anyone know of any way to re-create a menu that would stick to the bottom of a page for mobile phones?
Thank you, Steven
© Stack Overflow or respective owner