开发者

CSS - absolute positioning in iphone? (phonegap, jqtouch)

I'm trying to position a div over a google map in an iphone app built with phonegap. It shows up fine on the web (http://presentations.superfaddev.com/ifad/v2/ifad.html#Contact - Click on locations and you'll see the map overlay of our 3 locations).

However, in my app the overlay is nowhere to be seen, which I'm guessing has something to do with absolute positioning or something. Anyone know how to fix this, or what开发者_高级运维 the best way to position one thing over another in iPhone is?


Try to put position:relative; to the container.
Position absolute takes origin from the first parent element positioned relative.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜