[英]jQuery Mobile popup screen size
我正在使用 jQuery Mobile,我需要一个弹出选项来打开一个表单。 弹出窗口正在工作,但我需要让它更大。
<div id="addPopup" data-role="popup" data-overlay-theme="a" data-theme="d" data-transition="pop" >
<div data-role="header" data-theme="c" class="ui-corner-top">
<div class="ui-btn-left">
<a href="#NEED TO CONFIGURE" data-role="button" data-theme="c" data-icon="check" data-inline="true" data-ajax="false">Save</a>
</div>
<h1 class="ui-title" role="heading">Status</h1>
<div class="ui-btn-right">
<a href="#NEED TO CONFIGURE" data-role="button" data-theme="c" data-icon="delete" data-inline="true" data-ajax="false">Cancel</a>
</div>
项目代码:
<div class="grid_10" style="text-align:left; width:30%; margin-top:0px;">
<input type="text" name="name" id="name" value="" placeholder="Item Code">
</div>
</div>
我该怎么做呢?
使用 CSS 调整弹出窗口的大小。
#yourpopup{
width: 200px;
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.