更改jquery对话框上按钮的字体大小
我有一些简单的对话更改jquery对话框上按钮的字体大小,jquery,Jquery,我有一些简单的对话 $("#modal").dialog({ autoOpen: false, height: 350, width: 600, modal: true, buttons: { Cancel: function() { $(this).dialog("close"); } } }); 如何更改按钮中文本的大小-取消 像这样编辑css #dialog .ui-button-text { font-size: 15px
$("#modal").dialog({
autoOpen: false,
height: 350,
width: 600,
modal: true,
buttons: {
Cancel: function() {
$(this).dialog("close");
}
}
});
如何更改按钮中文本的大小-
取消
像这样编辑css
#dialog .ui-button-text {
font-size: 15px; /* Or whatever smaller value works for you. */
}
试试这个
#modal{font-size: 20px; } /*where #model is button id*/