-2

I've got very curious case in IE8 where media query is not working on URL (mobile view shows on desktop) but If I use IP address than it works (desktop view shows). I tried a whole lot of things even several solutions from stackoverflow but couldn't succeed. It seems like respond.js issue but I'm not sure. Can anyone please help me on this.

URL: https://www.uhc.com/

IP: 149.111.148.170

FYI: I'm using IE 11 developer Tool to check it on IE8.

Raj
  • 570
  • 5
  • 15

2 Answers2

1

IE8 (and lower versions) do not support media query.

and you can use IE11/ EDGE BROWSER

There are some workarounds that use JavaScript to add media query support to these browsers. Try these: https://code.google.com/archive/p/css3-mediaqueries-js/

learn more about it

CSS Media Query not Supported in IE https://css-tricks.com/forums/topic/css-media-query-not-supported-in-ie/

IE7 and IE8 support for CSS3 Media Query

http://cssmatter.com/blog/ie7-and-ie8-support-for-css3-media-query/


A fast & lightweight polyfill for min/max-width CSS3 Media Queries (for IE 6-8, and more) https://github.com/scottjehl/Respond

Reference - Stackoverflow IE8 support for CSS Media Query

Community
  • 1
  • 1
Codeone
  • 1,173
  • 2
  • 15
  • 40
  • I've checked both respond.js and css3-mediaquery js. Noting works in my situation. – Raj Jun 22 '16 at 09:37
0

I found the issue. It was due to analytics script. Hence closing this question.


Raj
  • 570
  • 5
  • 15