1、弹框居中显示

上下居中

需要上下居中引用  bootstrap-modalmanager.js

左右居中

修改 bootstrap-modal.js 中 this.$element.css('margin-left', '');   改为  this.$element.css('margin-left', 0 - this.$element.width() / 2);

弹框大小

去掉 bootstrap-modal-bs3patch.css 中 .model 中的 width: 500px;

外面套了一层

其实是因为使用的 modal-dialog 的样式,解决办法是修改 bootstrap.css 中的 bootstrap.css 样式

2、select2 宽度不让自动适应

$(".select2me").select2({ width: 'resolve' });

最新文章

  1. 前端学PHP之面向对象系列第四篇——关键字
  2. RequireJs调研
  3. MIS系统开发利器,实施、维护人员自定义报表的福音,AgileEAS.NET SOA平台动态报表指南
  4. 关于开发中 hosts 文件的修改
  5. android 开发中的常见问题
  6. grunt <% %>模板和使用配置文件
  7. JQuery弹出层,实现弹层切换,可显示可隐藏。
  8. poj 2661 Factstone Benchmark
  9. 快递鸟顺丰物流api接口对接多种方法整理
  10. 使用selenium时提示:ImportError:No module named selenium
  11. codeforces——961C. Chessboard
  12. 利用vue-router和compoment重构代码--踩坑(一)
  13. 从MVC和三层架构说到SSH整合开发
  14. linux-Vim命令合集
  15. Unity Standard Assets Example Project
  16. Eclipse搭建maven项目的流程,聚合所有的子模块项目
  17. 2017-2018-2 20165315 实验二《Java面向对象程序设计》实验报告
  18. Tensorflow应用之LSTM
  19. ubi 文件系统加载失败原因记录
  20. c# 递归函数使用案例

热门文章

  1. 【译】Solr in Action 第二章
  2. 当前主流的小型嵌入式 GUI
  3. c# combbox删除最后一个item界面不更新
  4. sql中union,union all没有兼顾到的内容
  5. angular 中数据循环 *ngFor
  6. js刷新页面location.reload()用法
  7. Django中的文件上传和原生Ajax
  8. Can't create a new thread (errno 11) 解决办法 mysql无法连接
  9. iOS-浅谈iOS中三种生成随机数方法
  10. charles 偏好设置