Created
October 18, 2016 18:24
-
-
Save codedcontainer/9aaaa7c16b6fe9c80439b9b4806c68f0 to your computer and use it in GitHub Desktop.
Flex box does not work with ie 11 > 9, you need to adjust the height for ie 11
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function ieTag(){ | |
var ie = { | |
eleven: 'rv:11', | |
ten: 'MSIE 10', | |
nine: 'MSIE 9' | |
}; | |
var appVersion = window.navigator.appVersion; | |
for( key in ie ) | |
{ | |
if ( appVersion.indexOf(ie[key]) !== -1 ) | |
{ | |
$('html').attr('id', "ie"+key); | |
} | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ieeleven #staff .person, #ieten #staff .person, #ienine #staff .person{ | |
height: 200px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment