I am stuck on this issue for two days straight now and exhausted trying all possibilities. So I have simplified the jsfiddle example below. Basically I am trying to use stretch in IE 10, and its failing. When the #left-panel stretches the #wrapper does not stretch with it. I need both of these divs (#left-panel & #wrapper) to be equal heights at all time.
Any advice would help me greatly and I will be very thankful!
UPDATE!
Added the prefixes for IE (but still not working)
body {
margin: 0;
padding: 0;
height: 100%;
}
#page-wrapper {
background: tomato;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: start;
-ms-flex-pack: start;
justify-content: flex-start;
-webkit-box-align: stretch;
-ms-flex-align: stretch;
align-items: stretch;
height: 100%;
}
#left-panel {
background: skyblue;
width: 250px;
height:2000px;
}
#wrapper {
background: aquamarine;
-webkit-box-flex: 1;
-ms-flex: 1;
flex: 1;
}
#header {
height: 60px;
background: lightblue;
}
#footer {
height: 40px;
background: lightgreen;
}
<body>
<div id="page-wrapper">
<div id="left-panel">
panel should expand vertically
</div>
<div id="wrapper">
<div id="header">
Header should expand horizontally
</div>
<div id="main">
content should expand vertically and horizontally
</div>
<div id="footer">
Footer should expand horizontally
</div>
</div>
</div>
</body>