2
我正在使用jquery mobile。 我創建了一個非常簡單的頁面,其中有一個固定的頁眉和頁腳。我在該頁面上只有兩個按鈕。頁腳固定爲底部,因此頁面的一半爲銀色(data-theme = c),一半作爲灰色(底部頁面)。內容應該從頁眉填充到頁腳footerin
我希望整個頁面從頁眉到頁腳都是銀色(根據指定的主題),無論我想在一頁上放置多少內容。 這可能嗎?
<div data-role="page" data-theme="b" id="ui-page-start" class="ui-page-active">
<div data-role="header" data-theme="b" data-backbtn="false">
</div>
<div data-role="content" class="ui-content" role="main" style="text-align: center;"data-theme="c">
<br/>
<div>
<input type='text' id='jid' placeholder="JID" data-mini="true" value='[email protected]' style="border-radius: 10px;">
<input type='password' data-mini="true" id='password' placeholder="Password"style="border-radius: 10px;">
</div>
</div>
<div data-role="footer" data-position="fixed" class="ui-bar-a fade " role="contentinfo" style=": 212px; ">
</div>
</div>
太棒了!完成完成。 –