<style type="text/css">
body,html{
margin:0px;
height:100%;
width:100%;
}
.
auto{
width:100%;
height:100%;
background:red;
}
</style>
<div class="auto"/>