aFarkas / html5shiv

This script is the defacto way to enable use of HTML5 sectioning elements in legacy Internet Explorer.
http://paulirish.com/2011/the-history-of-the-html5-shiv/
9.89k stars 2.56k forks source link

header is remove from the document under IE7/IE5 #181

Closed dotku closed 9 years ago

dotku commented 9 years ago

here is my code

<!--[if lt IE 9]><script src="../dist/html5shiv.min.js"></script><![endif]-->
<style>
    footer {
        background-color: #fec;
    }
    header {
        background-color: #efc;
    }
</style>
<header>
    HEADER-TEXT
</header>
    CONTENT
<footer>
    HELLO-TEXT
</footer>
Rayiumir commented 9 years ago

Hello ... This is a new update ?

aFarkas commented 9 years ago

Use head and body elements.