I am trying to get @media queries to work within a stylesheet for IE8.
Many people recommend using the following plugin: http://code.google.com/p/css3-mediaqueries-js/
I am certain I am using it correctly (I am not @import for stylesheets). However it is not working at all in IE8. Unfortunately it hasn’t been updated in years and maybe it’s not compatible with jQuery 1.7
Does anyone have a working solution for the latest version of jQuery.
Many thanks,
As @elclanrs stated in the comments use Respond. It’s a lightweight library that handles
min-widthandmax-widthmedia queries:Get it on github: https://github.com/scottjehl/Respond