我正在寻找一种方法来显示始终以页面为中心并漂浮在页面上的确认对话框。
试过了,但它根本不是“始终居中”,因为位置是固定的:
.Popup
{
text-align:center;
position: absolute;
bottom: 10%;
left: 27%;
z-index:50;
width: 400px;
background-color: #FFF6BD;
border:2px solid black;
}
任何的想法?谢谢