弹出层屏幕居中 给DIV加上以下样式即可 style="z-index: 10; display: none; 700px; height: 440px; left: 50%; top: 45%; margin-left: -350px; position: absolute;" 主要是定义好的宽度,然后Margin-left的值负宽度的一半,left百分之50,top可以选择30%--50%之间