弹窗窗口在浏览器上面居中

来源:互联网 发布:数据库的数据模型包含 编辑:程序博客网 时间:2024/05/21 16:49
@CHARSET "UTF-8";
#auto_zancundaan_pop{
   position: fixed;
   _position:absolute;
   top: 50%;
   left: 50%;
   z-index:9999;
   width:340px;
   height:350px;
   margin: -176px 0 0 -171px;
   line-height: 350px;
   overflow:hidden;
}
#click_zancundaan_pop{
   position: fixed;
   _position:absolute;
   top: 50%;
   left: 50%;
   z-index:9998;
   width:350px;
   height:200px;
   border:1px solid #9A9999;
   border-radius:5px;
   margin: -101px 0 0 -181px;
   line-height: 200px;
   overflow:hidden;
}
#xiaole_top{
   text-align:center;
   line-height:110px;
}
.zc_btn{
   width:100px;
   height:35px;
   line-height:35px;
   border-radius:3px;
   text-align:center;
   color:#FFFFFF;
   cursor:pointer;
   background-color:#F58D28;
   filter:alpha(opacity=70); /*IE滤镜,透明度50%*/
   -moz-opacity:0.7; /*Firefox私有,透明度50%*/
   opacity:0.7;/*其他,透明度50%*/
}
.zc_btn:hover{
   filter:alpha(opacity=100); /*IE滤镜,透明度50%*/
   -moz-opacity:1; /*Firefox私有,透明度50%*/
   opacity:1;/*其他,透明度50%*/

.auto_table{
   padding:5px 15px;
   font-size:14px;
   font-weight:500;
   line-height:25px;
   color:#000000;
   font-family:微软雅黑;
   background-color:#FFFFFF;
   border:1px solid #9A9999;
   border-radius:5px;
}
.click_btn_float{
   float:left;
   height:30px;
   line-height:30px;
}
.click_bk{
   width:100px;
   margin-left:20px;
}
.click_continue{
   width:80px;
}
.colse{
   position:absolute;
   width:10%;
   height:30px;
   font-size:16px;
   font-weight:600;
   top:10px;
   right:10px;
   cursor:pointer;
   text-align:center;
   line-height:30px;
}
#menban{
   position:fixed;
   z-index:1005;
   top:0;
   left:0;
   width:100%;
   height:100%;
   filter:alpha(opacity=70); /*IE滤镜,透明度50%*/
   -moz-opacity:0.7; /*Firefox私有,透明度50%*/
   opacity:0.7;/*其他,透明度50%*/
   background-color:#959491;
}
0 0
原创粉丝点击