You can do it with a fixed width positioned in center and with negative margins with half of the width and half of the height. So for a div with id your_div
that is 200x200 in size, you'd do:
#your_div {
width: 200px;
height: 200px;
position: fixed;
top: 50%;
left: 50%;
margin-left: -100px;
margin-top: -100px;
}