I'm afraid my question is very, very lame, but I really can't find a perfect solution for pushing a footer to the bottom of the page in Windows Phone Internet Explorer. Basically, I've got a layout like this:
<head>
<style>
* {
margin: 0;
padding: 0;
color: white;
}
body {
display: flex;
flex-flow: column;
}
header {
background: blue;
}
main {
background: green;
flex: 1 0 auto; /* This kind of works, but there is definitely space between bottom of the footer and bottom of the screen */
flex: 1; /* Doesn't work at all, footer stays on top of the page like 'main' doesn't exist at all */
/* Both options work perfectly fine in Chrome and Edge */
}
footer {
background: red;
}
</style>
</head>
<body>
<header>Header here</header>
<main>Content here</main>
<footer>Footer here</footer>
</body>
This works everywhere, except Windows Phone IE. I've tried many options, but no one works fine. Footer height can change dynamically, and I don't want to do some weird calcultaions in JavaScript. Also, I don't want to fix the footer, it should be just pushed to bottom.