Skip to content

Instantly share code, notes, and snippets.

@codedcontainer
Created October 18, 2016 18:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save codedcontainer/9aaaa7c16b6fe9c80439b9b4806c68f0 to your computer and use it in GitHub Desktop.
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
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);
}
}
}
#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