I have been making use of CSS3's Flexbox Layout to arrange components on a website. For the most part, everything has been working great and as expected. However, after testing the website on an old iPad (running iOS version 9.3.5 (no idea where to find the Safari version)), and on a Samsung Edge 6's 'Internet' application, I uncovered a few problems. The content will load fully, as will the footer, but instead of the content being loaded at the top with the footer beneath, the footer seems to load randomly on top of the content (when I say on top, I don't mean at the top of the browser).
I have tested the website on the latest versions of Google Chrome and Microsoft Edge, as well on an iPhone 5's Mobile Safari, an iPhone 6's Mobile Safari and a Samsung Edge 6's Mobile Google Chrome; everything worked as expected.
I followed this tutorial (Flexbox) for arranging the components.
Here is my code (including the webkits, etc. I thought would increase compatibility):
html {
height: 100%;
}
body {
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-box-orient: horizontal;
-moz-box-orient: horizontal;
-webkit-box-direction: normal;
-moz-box-direction: normal;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
min-height: 100%;
}
.content {
-webkit-order: 1;
-ms-flex-order: 1;
order: 1;
-webkit-box-flex: 1;
-moz-box-flex: 1;
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
}
footer {
-webkit-order: 2;
-ms-flex-order: 2;
order: 2;
}
I also added in the "order" property to see if it had any affect, but still nothing.
So what I'm wondering is, is there a solution to this? Or if not, what should I do as an acceptable fallback for less modern browsers?
Thanks,
Matthew