I unfortunately have to support later versions of IE (10 + 9) and have a current setup with divs that appear correctly in all browsers except IE9. I have 4 cards in a row, IE 10 shows ok but in IE 9 the layout appears as so:
My code is as follows:
.wrapper {
width: 1200px;
margin: auto;
}
.row {
display: -ms-flexbox;
display: flex;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
margin-right: -10px;
margin-left: -10px;
}
.row-show-4 {
width: 100%;
}
.card {
position: relative;
padding: 0 10px;
float: left;
width: 25%;
}
HTML Markup
<div class="wrapper">
<div class="row row-show-4">
<div class="card"></div>
<div class="card"></div>
<div class="card"></div>
<div class="card"></div>
...
</div>
</div>
I know flexbox does not read correctly in older versions of IE, but can't figure out if that is the reason the divs won't display correctly, or if there is a fallback where I can keep flexbox as well for the newer browsers.


Thanks for the responses everyone, what I ended up doing was setting a height to the card and it worked to solve the lone card showing up on a row on it's own.