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
Post a Comment