Edit in JSFiddle

#s {
  position: absolute;
  *position: static;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  *margin: 100px auto 0;
  width: 200px;
  height: 150px;
  background: red;
}
<div id="s">sample</div>