<main> semantic element IE fix

Some versions of Internet Explorer consider the <main> semantic element as "unknown". So its initial value is "inline".If we want the behavior of the <main> element to be the same as in other browsers, we must set it explicitly as a "block."
This commit is contained in:
carpaIdea
2016-04-12 23:07:27 +02:00
parent eba8ad4b55
commit a9c5cf3072
@@ -28,6 +28,7 @@ tbody tr {border-bottom:2px solid #f1f1f1}
td, th {padding: 5px; text-align: left; vertical-align:top}
thead th {vertical-align:bottom}
header, footer {with:100%}
main {display: block;} /* IE fix */
@media all and (max-width:599px) {
h1{font-size:2em}