Internet Researcher Media Requests

I tried to use media queries on my sites. it works fine in firefox and safari, but not for IE. Does anyone know that media queries work well in IE (Internet Explorer 7 and 8).

here is the code: enter image description here

+4
source share
2 answers

Unfortunately, media query is not supported in Internet Explorer 8 or later. You can use javascript to hack. Watch these ! You can use <!--[if lt IE <version>]> for compatibility issues.

+3
source

Perhaps this may also be useful:

To make media processors work in IE8 or later , you can use reply.js . Download the script file, copy it to the scripts folder (or anywhere). Then put the line below at the head of your html document (assuming you copied the file to the scripts folder).

 <script type="text/javascript" src="scripts/respond.js"></script> 

What is it. IE will start supporting media queries.

+11
source

All Articles