[英]Divide Footer into textbox and small button, Corodova Android App
I'm designing a page containing footer which contains long text box depending on the mobile device and a button adjacent to it, which will remain fix without considering the mobile device. 我正在设计一个包含页脚的页面,该页脚包含长文本框(取决于移动设备)和与之相邻的按钮,该文本框将保持固定状态,而无需考虑移动设备。
Following is the code: 以下是代码:
<div data-role="footer" data-position="fixed"
data-theme="e" style="position: fixed;" class="ui-grid-a">
<div class="ui-block-a">
<input type="text" id="addComment" name="addComment" data-inline="true"></div>
<div class="ui-block-b">
<a href="#" data-rel="popup" class="ui-btn ui-mini ui-btn-inline ui-icon-check ui-corner-all ui-btn-icon-notext" style="float:right;"></a>
</div>
</div>
Can we manipulate the ui-block-a width, to capture 80% of the width and remaining 20% only for the button?? 我们可以操纵ui-block-a宽度来捕获宽度的80%,而仅为按钮保留20%的宽度吗? Or is there some other possibility?
还是还有其他可能性?
I want to make the appearance of the footer resembling as it is instagram while viewing comments or adding comments. 我想在查看评论或添加评论时使页脚的外观类似于instagram。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.