Search code examples
jqueryhtmlcssinternet-explorer-8compatibility

Internet Explorer 8 HTML5 elements not being styled properly


I have a problem with my website in Internet Explorer 8, it doesn't happen in the version I have personally, but my friend tried it and showed me a screenshot.

http://puu.sh/6CM4c.jpg

The website is www.mikkeljohannsen.com and you're able to see the code and everything on there too of course, so I'm guessing it'll just be easier that way.


Solution

  • Internet Explorer 8 doesn't support many HTML5 elements like article, section and so on. You need to look at using something like Modernizr which uses Javascript to emulate HTML5 elements in browsers that don't support them.