0
我使用下面的代碼來指定屏幕的彈出確切中心。但它不工作。 Popup根據div的大小出現在不同的地方。但我想在屏幕的中心顯示div。popup沒有分配屏幕的中心
.pnl_renewal_res
{
background:White;
position: absolute;
top: 50%;
left: 50%;
margin:-50px 0 0 -100px; /* [-(height/2)px 0 0 -(width/2)px] */
display: none;
border:1px solid #333333;
}