Internet Explorer 11 doesn’t like <main>

Even though the <main> tag became part of the HTML5 standard in July 2013 and Internet Explorer 11 was released in October 2013, full support in the browser for the tag is missing. It seems to be behaving like an inline element instead of a block element. Fortunately, the solution is a simple one-line CSS rule, which also doesn’t affect the behavior of the tag on the other browsers.


main { display: block; }
Write us your thoughts about this post. Be kind & Play nice.