对话框绝对居中(兼容IE8)
来源:互联网 发布:cx one4.41软件 编辑:程序博客网 时间:2024/05/18 01:10
转载请注明出处http://blog.csdn.net/q498003692/article/details/52262968
注:当然这说的兼容不包括rgba
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title> <style> .dialog { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, .6); text-align: center; } .dialog:before { content: ''; width: 0; height: 100%; display: inline-block; vertical-align: middle; } .dialog-inside { display: inline-block; vertical-align: middle; width: 300px; height: 300px; background: #fff; } </style></head><body><div class="dialog"> <div class="dialog-inside">content</div></div></body></html>
1 0
- 对话框绝对居中(兼容IE8)
- div图片水平垂直居中不随滚动条滚动的CSS代码(兼容IE8+)
- 兼容IE6和IE8中div内图片垂直居中
- IE8兼容 (ASP.NET)
- jQuery弹幕 (兼容IE8)
- IE8中实现垂直居中(兼容IE6、IE7、IE8,Firefox,Chrome等)
- 绝对居中
- IE8兼容那些事(包括react)
- 【CSS】多行文字垂直自适应居中, 兼容FF,Chrome ,IE8+
- css 完美垂直居中解决方案兼容ie8以上等其他浏览器
- 让页面绝对居中,且可以随便改变页面布局兼容所有现代浏览器的方法
- 对话框居中
- Ie8 下居中样式
- ie8处理select居中
- ul 居中方法(兼容 IE)
- css实现垂直居中(兼容)
- div 绝对屏幕居中
- 绝对定位水平居中
- Angular—ngRoute
- Libev事件库
- hdu 5858 Hard problem(2016 Multi-University Training Contest 10——数学题)
- 在Mac OS中安装 wget
- Spring学习(三)
- 对话框绝对居中(兼容IE8)
- libev整体设计
- MySQL5.6基本优化配置
- NppExec获取进程返回码
- colorhighlighter使用(sublime text3)
- Spring学习(四)
- Libev官方在线API 网址
- leetcode Jump Game
- FZU 2216 The Longest Straight (二分)