-1

i tried to use media query in IE8 using either respond.js or mediaquery.js but nothing working for me. after using css-mediaquery.js from below link

https://github.com/livingston/css3-mediaqueries-js

it throws some error in my page like

enter image description here

below by media code.

@media screen and (min-width: 1200px) 
{
.c
{
border: 2px black solid;
}
}

after using respond.js also not workinh for me.

i referred the scripts in my page like

 <script src="~/Scripts/respond.js"></script>
    <script src="~/Scripts/css3-mediaqueries.js"></script>

but not working

Thanks,

Siva

SivaRajini
  • 7,225
  • 21
  • 81
  • 128
  • use respond.js to get your media queries working in IE8. – Rohan Jan 06 '14 at 14:05
  • 1
    I don't understand because when i type in google "media query ie8" i get many useful links. So what is your issue with google??? – A. Wolff Jan 06 '14 at 14:11
  • possible duplicate of [IE8 support for CSS Media Query](http://stackoverflow.com/questions/5769493/ie8-support-for-css-media-query) – SivaRajini Jan 06 '14 at 14:21

2 Answers2

5

take a deep breath and then read below

Internet Explorer 8 or older doesn't support media query. You can use media-queries.js or respond.js to add media query support in IE.

If you survived above answer, below are your rescue links :

CSS3-mediaqueries-js GITHUB

Respond.js GITHUB

CSS3-mediaqueries-js GOOGLE url for download

NoobEditor
  • 15,563
  • 19
  • 81
  • 112
1

IE8 and below browsers will not support media queries. In order to make your webpage work with IE8 and below you may use respond.js

respond.js link

Green Wizard
  • 3,507
  • 4
  • 18
  • 29