Ie8 Is Adding A Trailing Slash To An Html5 Tag
My site is a Drupal 7 installation. Basically the tag is at some point become , and this breaks the site's layout in those browsers. Everything is up to d
Solution 1:
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.
Post a Comment for "Ie8 Is Adding A Trailing Slash To An Html5 Tag"