I just completed this website: http://groepsmanager-rspo.com. It renders perfectly in modern browsers such as Chrome 47 and Internet Explorer 11.
In Microsoft Edge, the 5% padding-top
and padding-bottom
are ignored. display:flex
has been applied to the divs in question, and they have a percentage padding-top and padding-bottom.
@media only screen and (min-width: 768px) {
.row {
display: flex;
}
.twothird, .threethird, .onethird, .onehalf, .onefourth, .threefourth, .twofourth {
padding: 5%; // Padding-top and -bottom are ignored?
}
}
Now, is Edge interpreting flexbox wrongly? Is there a way to target this problem specifically?
If not, is there a way to detect via Modernizr if the client browser is Edge, so as to use something other than display: flex
in those cases?
Please note that Modernizr indicates that Edge has support for display: flex
.
Thanks in advance.