That's because IE8 doesn't support HTML5 elements. And because it doesn't understand the <main>
element as a valid HTML element, it auto closes it.
You will either need to use an HTML5 shim for IE<9 or wrap the tag in a div with class="main"
as a fallback.