I need help with the layout of this HTML code:
<div id="outer">
<div class="content left"></div>
<div class="content right">
<div class="fill">
<div class="blue">
xxx <br> xxx
</div>
</div>
</div>
This is the CSS used:
body, html { height: 100%; }
#outer { position:absolute; margin:5%; bottom:0; top:0; left:0; right:0; overflow:hidden; }
.content { position:absolute; width:50%; height:100%; }
.content.left { background-color:yellow; }
.content.right { background-color:red; left:50%; }
.fill { padding: 2em; background-color: green; height: 100%;}
.blue { background-color: blue; }
You can view a live demo on JSFiddle.
My question is how can I adjust the spacing above and below the blue DIV to be equal in height?