【发布时间】:2012-02-09 08:50:12
【问题描述】:
如何删除对话框的默认格式并应用我自己的 CSS?
我的尝试效果不佳...
<div data-role="dialog" id="confirm-clear" class="dialog-custom" >
<div data-role="content" >
<p>Some text.</p>
<p><a href="#" data-role="button" data-inline="true">Yes</a><a href="#" data-role="button" data-inline="true" data-rel="back">No</a></p>
</div>
</div>
编辑: 在我的 CSS 中:
.ui-dialog.dialog-custom {
background: repeat scroll 0 0 rgba(0,0,0,.5);
height:200px; /* this doesn't do anything */
}
【问题讨论】:
标签: jquery css jquery-mobile jquery-ui-dialog