<html xmlns="http://www.w3.org/1999/xhtml">
<style type="text/css">
 html{
  background:lime;
 }
 body{
  margin:0;
  padding:0;
  position:relative;
  height:100px;
  overflow:hidden;
 }
 div.fail{
  position:absolute;
  top:100px;
  height:300px;
  width:100%;
  background:red;
 }
</style>
<body>
 <div class="fail"></div>
</body>
</html>