My code is working perfectly in Firefox, Chrome, and Edge, but unfortunately not functioning properly in IE11 due to issues with the flex model. Can someone help me troubleshoot this?
Here's how it appears in Firefox:
https://i.sstatic.net/BJgVt.png
And here's how it looks in IE11:
https://i.sstatic.net/Fedul.png
body * {
box-sizing: border-box;
}
html {
height: 100%;
}
body {
min-height: 100%;
display: flex;
flex-flow: column;
margin: 0;
}
main {
flex: 1;
display: flex;
}
header,
footer {
background: #7092BF;
border: solid;
width: 100%;
}
section {
border: solid;
background: #9AD9EA;
flex: 1
}
aside {
border: solid;
width: 150px;
background: #3E48CC
}
<header>
<p>header
</header>
<main>
<aside>
<p>aside
<p>aside
</aside>
<section>
<p>content
<p>content
<p>content
<p>content
</section>
</main>
<footer>
<p>footer
<p>footer
</footer>