CSS控制DIV水平垂直居中
<div style="position:absolute; width: 600px; height: 200px; left: 50%; top: 50%; margin-left:-300px; margin-top: -100px;">
看我居中
</div>
<div style="position:absolute; width: 600px; height: 200px; left: 50%; top: 50%; margin-left:-300px; margin-top: -100px;">
看我居中
</div>