imdead Posted September 15, 2012 Share Posted September 15, 2012 Hey everyone, i'm helping create a website for a friend over at http://www.kevin-cornish.com/jerrihart/history.html if you check it out you can see that the page loads perfectly on every browser however, looks horrible in IE8. Any suggestions? Quote Link to comment https://forums.phpfreaks.com/topic/268396-fine-in-firefox-ie9-and-chrome-but-not-in-ie8/ Share on other sites More sharing options...
Pikachu2000 Posted September 15, 2012 Share Posted September 15, 2012 Both the HTML and the CSS have validation problems. Quote Link to comment https://forums.phpfreaks.com/topic/268396-fine-in-firefox-ie9-and-chrome-but-not-in-ie8/#findComment-1378079 Share on other sites More sharing options...
floridaflatlander Posted September 15, 2012 Share Posted September 15, 2012 Yeah put your url in here For css: http://jigsaw.w3.org/css-validator For html: http://validator.w3.org (although this seems fine) Just for fun Website Optimization: http://www.websiteoptimization.com/services/analyze/ Quote Link to comment https://forums.phpfreaks.com/topic/268396-fine-in-firefox-ie9-and-chrome-but-not-in-ie8/#findComment-1378084 Share on other sites More sharing options...
imdead Posted September 15, 2012 Author Share Posted September 15, 2012 I've already tried this and matched up the website to the clean markup, yet this makes the website broken in all browsers? Edit: i just rechecked using the correct markup and 'This document was successfully checked as HTML5!' Quote Link to comment https://forums.phpfreaks.com/topic/268396-fine-in-firefox-ie9-and-chrome-but-not-in-ie8/#findComment-1378104 Share on other sites More sharing options...
imdead Posted September 15, 2012 Author Share Posted September 15, 2012 resolved by using <!--[if IE]> <script> document.createElement('header'); document.createElement('nav'); document.createElement('section'); document.createElement('article'); document.createElement('aside'); document.createElement('footer'); document.createElement('hgroup'); </script> <![endif]--> Quote Link to comment https://forums.phpfreaks.com/topic/268396-fine-in-firefox-ie9-and-chrome-but-not-in-ie8/#findComment-1378119 Share on other sites More sharing options...
Samuz Posted September 17, 2012 Share Posted September 17, 2012 resolved by using <!--[if IE]> <script> document.createElement('header'); document.createElement('nav'); document.createElement('section'); document.createElement('article'); document.createElement('aside'); document.createElement('footer'); document.createElement('hgroup'); </script> <![endif]--> or this Quote Link to comment https://forums.phpfreaks.com/topic/268396-fine-in-firefox-ie9-and-chrome-but-not-in-ie8/#findComment-1378579 Share on other sites More sharing options...
Dragosvr92 Posted October 2, 2012 Share Posted October 2, 2012 That looks pretty awesome Samuz ! Nice to see a full HTML5 website. I would fix this silly error if i were you.. Line 20, Column 34: The align attribute on the h1 element is obsolete. Use CSS instead. <h1 class="title2" align="center">Jerri Hart</h1> Quote Link to comment https://forums.phpfreaks.com/topic/268396-fine-in-firefox-ie9-and-chrome-but-not-in-ie8/#findComment-1382360 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.