-1

I really don't care about IE8, but the clients do. I realized the IE8 detects responsive website as mobile and load the incorrect CSS.

For instance: www.bootply.com/render/62603

Any body has the same issue?

Amir
  • 497
  • 1
  • 5
  • 23
  • Post your code in your question please. – j08691 May 28 '14 at 14:25
  • Probably a twitter bootstrap 'thing'. – enapupe May 28 '14 at 14:27
  • I guess that is a problem with bootstrap itself, try to file a bug report on github. – Daniel Steiner May 28 '14 at 14:27
  • @j08691 this is general question, and the link is ready made Bootstrap template, not my code, i wonder why it's happening just for my knowledge. – Amir May 28 '14 at 14:27
  • Check http://stackoverflow.com/questions/17947182/ie8-issue-with-twitter-bootstrap-3 – enapupe May 28 '14 at 14:28
  • IE8 doesn't support complex media queries. If the stylesheet is written assuming mobile first and querying for desktop, the 2nd half won't succeed. And, note that Bootstrap doesn't support IE8 without Respond.js. http://getbootstrap.com/getting-started/#support-ie8-ie9 – Jonathan Lonowski May 28 '14 at 14:32
  • Thank you guys, that helped me out to figure out the issue, i wonder why people gave negative to my post. – Amir May 28 '14 at 14:37
  • The reason for that is already given - the same reason you just expressed disagreement with. – BoltClock May 28 '14 at 14:44

1 Answers1

1

It's not that IE8 thinks that it's a mobile, it's that it just doesn't understand media queries.

To quote Jonathan Lonowski in comments:

IE8 doesn't support complex media queries. If the stylesheet is written assuming mobile first and querying for desktop, the 2nd half won't succeed. And, note that Bootstrap doesn't support IE8 without Respond.js.

You can get respond.js here.

Bootstrap get started

Community
  • 1
  • 1
Albzi
  • 14,793
  • 5
  • 39
  • 59