While I've come across similar questions, I have a query of my own...
Is there a way to make the green div fill 100% of the browser window regardless of its content?
http://jsbin.com/aculed/1/edit
HTML:
<div id="container">
<div id="yellow">
left
</div>
<div id="green">
right
<p>bla bla</p><p>bla bla</p> <p>bla bla</p><p>bla bla</p>
</div>
</div>
CSS:
body, html {
height:100%;
background-color:grey;
}
#container {
width:90%;
background-color:white;
}
#yellow {
float:left;
width:30%;
background-color:yellow;
}
#green {
height:100%;
height:auto;
margin-left: 50%;
background-color:green;
}