div{
width:200px;
margin:0 auto;
}
.div{
width:500px;
height:300px;
margin:-150px 0 0 -250px;
position:relative;
background:pink;
left:50%;
top:50%;