css 背景图
position: absolute;
margin: auto;
left: 0;
right: 0;
top: 0;
bottom: 0;
background: #dfdfdf url(../images/login_main_bg.jpg);
background-position: center;
background-repeat: no-repeat;
background-attachment: fixed;
div
position: fixed;
left: 50%;
top: 50%;
margin-left: width/ 2;
margin-top: height/ 2+200px;
之前没有考虑到屏幕大小,与分辨率的问题会导致效果(背景图,表格div)不居中