I'm creating some dialog boxes using jQUery UI, but, the "close" button is too small in mobile devices. I need to resize only the close button.

我正在使用jQUery UI创建一些对话框,但是,“关闭”按钮在移动设备中太小。我只需要调整关闭按钮的大小。

1 个解决方案

#1


1

I found this simple solution, using CSS:

我发现这个简单的解决方案,使用CSS:

<style>
    .ui-dialog-titlebar-close { width: 30px !important; height: 24px !important; top: 40% !important }
</style>

This way affect all the dialog boxes, which is the desired effect.

这种方式会影响所有对话框,这是所需的效果。

更多相关文章

  1. ASP.NET下使用jQuery UI下的Dialog,服务器端按钮无响应的问题。
  2. 最简单jquery.ajax+php例子(对话框显示文本框输入内容),以小见大
  3. 用jquery 绑定一个按钮click事件后,第一次点击后,一切正常,第二次点
  4. 打开后,JQuery ui对话框调整大小
  5. JQuery 表单验证按钮提交之前变色
  6. 使用jquery实现点击按钮弹出层和点击空白处隐藏层
  7. 使用jQuery确认对话框防止上的表单回发
  8. jquerymobile phonegap back按钮获取先前状态
  9. 9.1.4 前端 - HTML body标签 - 标题,段落,分割线,换行,特殊符号,列

随机推荐

  1. php中的chunk_split函数怎么用
  2. php中的strnatcasecmp函数怎么用
  3. php中的strnatcmp函数怎么用
  4. php rtrim函数怎么用
  5. php strrev怎么用
  6. php中的str_ireplace函数怎么用
  7. php wordwrap函数怎么用
  8. php中的str_replace函数怎么用
  9. php str_shuffle函数怎么用
  10. php中的strip_tags函数怎么用