My page looks exactly like this
<article>
<header>header</header>
<section>section</section>
<footer>footer</footer>
</article>
Although this might look too easy, I need it to do 3 things:
1) If the section
is smaller than the available height, the footer should be at the bottom (and if the section gets bigger, the footer will simply be at the end (scrolling) of the page): DEMO
2) It should work in IE10 (check the demo in IE10 and you'll see that flexbox doesn't work very well: DEMO
3) Finally, if a huge modal dialog is shown (very tall) the footer should be at the bottom of the page: DEMO
Any help would be appreciated!!