Tagged with " ie"
Jan 30, 2014 - Javascript, jQuery    Comments Off on IE8 Javascript Upgrades

IE8 Javascript Upgrades

So, I’m discovering a number of things that IE8 doesn’t do that are “upgradeable” via javascript. I’m installing the js via a conditional so that I’m not loading it unless necessary.

Make it play nice with responsive design (bootstra) media queries: https://github.com/scottjehl/Respond

Make it understand cover/contain background images (logos): https://github.com/louisremi/jquery.backgroundSize.js (deprecated) or https://github.com/louisremi/background-size-polyfill

Of course, Modernizr.

Jan 5, 2012 - WordPress    Comments Off on Conditional CSS for IE

Conditional CSS for IE

   get_template_directory_uri() . '/ie7.css'
global $wp_styles;
$wp_styles->add_data( 'ie7-style', 'conditional', 'lte IE 7' );