Can't style HTML5 elements in IE (despite shiv and display:block)
问题 I can't seem to work out what's missing. All the affected elements have display:block Example style for the header element: header { width: 923px; height: 55px; background: #395168; margin-top: 25px; } 回答1: IE 6-8 doesn't know about the header tag, so that the styles can't be applied to it. To make IE to understand this tag, add the below script in your head section. <script language='javascript'> document.createElement('header'); </script> This would solve your problem. 回答2: Solved the issue