如何在phonegap blackberry os5中使用div?

时间:2013-08-12 10:07:19

标签: html blackberry cordova

我尝试在黑莓os 5和7中使用div,但我无法得到正确的结果。请指导我.. 或者给出适当的设计方法。我需要可滚动的div而不包装它。

1 个答案:

答案 0 :(得分:0)

在phonegap blackberry os5中使用div的格式

    <div data-role="header">
        <h1>Auth Demo</h1>
   </div>

    <div data-role="content">    

        <form id="loginForm">
        <div data-role="fieldcontain" class="ui-hide-label">
           <label for="username">Username:</label>
           <input type="text" name="username" id="username" value="" placeholder="Username" />
        </div>

        <div data-role="fieldcontain" class="ui-hide-label">
            <label for="password">Password:</label>
           <input type="password" name="password" id="password" value="" placeholder="Password" />
       </div>

       <input type="submit" value="Login" id="submitButton">
        </form>

    </div>
 <div data-role="footer">
        <h4>&copy; Camden Enterprises</h4>
   </div>

</div>
相关问题