Closed (fixed)
Project:
Aurora
Version:
7.x-3.1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
21 Jun 2013 at 20:54 UTC
Updated:
21 Jun 2013 at 21:20 UTC
Hi!
It seems that the element in page.tpl.php doesn't work in IE8 and lower. I've enable the Modernizr module, downloaded the latest Modernizr build (with htmls5shiv), but none of the styling works (e.g. background, padding, margin and width). When changing the element to a normal div or changing it to another html5 element (e.g. header, footer or aside) everything works as expected.
Is it normal behavior that the main tag isn't recognized, or am I missing some configuration options?
Comments
Comment #1
Snugug commentedThat behavior is incorrect. html5shiv 3.6.2, which was tagged 4 months ago, contains the main element. Updating to html5shiv 3.6.2 will solve this problem for you.
Comment #2
combicart commentedOk, thanks!
That's strange. I've downloaded the latest Modernizr (2.6.2) with html5shiv (3.6), but the main element isn't there in the script. All the other elements are there, but main is missing. I've added this manually and now it working correctly.
Thanks again!
Comment #3
Snugug commentedYup. Modernizr ships with 3.6, not 3.6.2. Glad it's fixed!