2012-12-01 66 views
2

我設計了android phonegap應用程序,使用jquery mobile.I需要顯示彈出窗口,並設置了jquery mobile popup的高度。我給出了Overflow:滾動的CSS和彈出窗口內容越來越多在android 4.0中滾動,但它不在android 2.2中滾動。android 2中的溢出滾動問題

這裏是我的代碼

<div align="center"> 
<a href="#popupBasic" data-rel="popup">Pop Up</a> 
</div> 
<div data-role="popup" id="popupBasic" data-dismissable="false" data-theme="c" data-overlay-theme="c" > 
    <p id="popup_content">PhoneGap is a free and open source framework that allows you to create mobile apps using standardized web APIs for the platforms you care about.Easily create apps using the web technologies you know and love: HTML, CSS and JavaScript.From first-timers to long-time veterans, we’ve got your dev needs covered. The developer portal is the place to find guides, documentation and tutorials.This guide describes how to set up your development environment for Cordova and run a sample application.</p> 
</div> 

CSS:

的.ui-彈出{ 的位置是:相對的; height:100px; 溢出:滾動; }

請指點我,感謝您的提前。

回答