wavydavy — 2011-01-25T14:17:13-05:00 — #1
I am trying to create my very first HTML5 website and I am having problems trying to get it to work in IE.
I have tried modernizr and html5 shiv and I cannot get either to render my webpage properly.
Here is a link to the website
As you can see when you load the page nothing appears in Internet Explorer 8
I just got rid of the shiv completely and added this code
This seemed to fix this problem for all versions of IE except for IE7
Anyone know how I can tweak this to get it to work for IE7? This is the second most popular version of IE for this website and I have to support it.
paulob — 2011-01-25T14:52:21-05:00 — #2
You haven't added the closing script tag here:
<!--[if lt IE 9]>
See if that makes a difference.
wavydavy — 2011-01-26T16:48:32-05:00 — #3
Thanks Paul, thought it would be something stupid like a typo or lack of a closing tag.
It seems the issue I was having with IE7 was more to do with a bug with IEtester, I ran a sandboxed version of IE7 and tested it in that and it ran fine.
paulob — 2011-01-26T17:17:29-05:00 — #4
I just checked your site again and its not working in any version of IE (apart from ie9 which isn't getting that script rule).
I see you haven't added the closing script tag as I mentioned which I'm sure will fix the issue (at least t did when I copied your page locally and added it in. :))
raffles — 2011-01-26T17:31:56-05:00 — #5
Also, you don't need separate <script></script> tags in there - just put it all into a single one.
This word "shiv" really bothers me. Seems like a silly made-up buzzword for something that just used to be called a "workaround", "fix" or "hack".
michael_morris1 — 2011-01-26T18:38:18-05:00 — #6
Isn't 'shiv' slang for a homemade knife, especially one made in prison?
victorinox — 2011-01-27T13:23:03-05:00 — #7
Maybe they meant 'shim'.
"...a washer or thin strip of material used to align parts, make them fit, or reduce wear."
Then again, some people do harbour violent thoughts about IE.
system — 2011-01-27T14:05:24-05:00 — #8
^ God only knows! :lol:
Better, I would like a 5 five minute rounds in the octagon for IE!
victorinox — 2011-01-31T12:36:37-05:00 — #9