I have a parent #out and a child #in div. Parent is absolute positioning, and min-height is 100%. It works, but if I set min-height: 100% for the child too, then it has no result.
HTML:
<div id="out"><div id="in">foo<br/>bar</div></div>
CSS
#out { position: absolute; min-height: 100%; background-color: green; width: 100%; } #in { min-height: 100%; background-color: red; }
It only works in Opera JSfiddle Link: http://jsfiddle.net/TPyKS/
source share