css - HTML5 Elements won't display:none; in IE even when using Modernizr -


i'm chucking quick splash page users visiting website in ie8 or below. i'm using modernizr's .lt-ie9 class target document, using css (with of sass) hide main content , show 'ie-warning'.

.lt-ie9 {     body {         background:none;     }     .container {         display:none;     }     footer {         display:none;     }     .ie-warning {         display:block;         text-align:center;     }  } 

everything working except display:none; on footer element, of course html5 element. i'm @ loss why won't hide, it's not showing in inspector or being overwritten else.


Comments

Popular posts from this blog

java - Jmockit String final length method mocking Issue -

asp.net - Razor Page Hosted on IIS 6 Fails Every Morning -

c++ - wxwidget compiling on windows command prompt -