user1466859
user1466859

Reputation: 11

Header element being hidden in IE8

I am working on www.doublegbobcat.com/preview and I have used a header element. Things are displaying as intended, except in IE8, where the header seems to be getting hidden on the z-index behind other content. How can I get the header element to display in IE8 the way it is in Chrome?

thx

Upvotes: 0

Views: 3557

Answers (2)

Adrift
Adrift

Reputation: 59799

The header element isn't showing up in IE8 developer tools, even though you've declared the new HTML 5 elements for IE lt 9

Instead, try including the HTML 5 "Shiv" script in your <head>

Link to script

More info

Upvotes: 5

Rudy van Sloten
Rudy van Sloten

Reputation: 195

IE8 will not accept the HTML5 tag. You'll need to use conditional statements to replace it.

http://fortuito.us/diveintohtml5/semantics.html#unknown-elements

Upvotes: 0

Related Questions