CSS DIV 上下左右 完全 全屏 居中
.center {
position: absolute; width: 800px; height: 520px; margin: auto; top: 0; left: 0; bottom: 0; right: 0; background-color: #ffffff; overflow-x: hidden; overflow-y: hidden;
}
资料来源
http://blog.jobbole.com/46574/
CSS DIV 上下左右 完全 全屏 居中
.center {
position: absolute; width: 800px; height: 520px; margin: auto; top: 0; left: 0; bottom: 0; right: 0; background-color: #ffffff; overflow-x: hidden; overflow-y: hidden;
}
http://blog.jobbole.com/46574/