62,041
社区成员
发帖
与我相关
我的任务
分享
<div id="div1" style="float:center"></div>
<div id="div1" style="float:middle"></div>
div {
position:absolute;
top:50%;
left:50%;
right:50%;
bottom:50%;
margin:-150px 0 0 -200px;
width:400px;
height:300px;
}