Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/75.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
更改jquery对话框上按钮的字体大小_Jquery - Fatal编程技术网

更改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*/