css - html5shiv not working in IE8? -


i can't styles pick in ie8 html5 elements. i've trawled stackoverflow , google, no suggestions i've tried work.

i started more elaborate page (i'm converting xhtml framework html5) , wasn't concerned in slightest, after seeing 0 results in emulated , f12 ie8 standards mode ie... here's simple code can't working:

<!doctype html> <html>     <head>         <meta http-equiv="x-ua-compatible" content="ie=edge" />         <meta charset="utf-8" />         <title>template</title>         <style type="text/css">             header {                 display: block;                 border:1px solid red;             }         </style>     </head>     <body>         <header>             html5 header         </header>         <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>     </body> </html> 

please obi-wan, you're hope.

move html5shiv’s script element head section, before other style , script elements.


Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -