While i was working on a website with one-page scrollable layout, i came across this:
when giving height:100%
to an element inside a min-height:100%
parent, it doesnt actually go full height.
Can someone explain this behaviour? In css there are obviously many ways to reach the same result, but understanding the underlying reasons will help me and anyone with a similar question greatly.
I'll include this jsfiddle to illustrate: http://jsfiddle.net/kNwhu/1/
Thanks in advance