Am using the below code to assign the popup exact center of the screen. But its not working. Popup appear in different places based upon the size of the div. But i want to display the div in the center of the screen.
.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;
}