Friday 4 March 2011

Get Media Queries to Work in IE

New fast and easy way to get Internet Explorer to respond to CSS3 media queries
Download the respond.min.js from https://github.com/scottjehl/Respond

Add the link to the javascript right before your closing head tag
<script src="scripts/respond.min.js"></script> 
</head> 
Close all your media queries with the following code 
@media screen and (min-width: 480px){
        ...styles for 480px and up go here 
}/*/mediaquery*/