Hi Guys, this should be a no-brainer.
I have a div, and i'd LIKE it to stretch to 100% of my browser window. Unfortunately, it doesn't happen like that. The div shows up, but its very small height wise. CAn anyone see problem with this code?
<body>
<div id="outerContainer" class="container">
This div should be the same height as the browser window
</div>
</body>
and my CSS:
body{
margin:0px;
padding:0px;
height:100%;
min-height:100%;
border:3px green solid;
}
div.container{
width:800px;
margin-left:auto;
margin-right:auto;
border:1px red solid;
height:100%;
}
Much appreciated!