Joseph Victor Zammit
Joseph Victor Zammit

Reputation: 15310

css media query issue only in IE8

Why does the following media query work in Google Chrome (23.0), Firefox (16.0.2) and IE9 browsers but not in IE8?

@media all and (min-width:720px){
  /* relevant css in here */
}

Upvotes: 0

Views: 367

Answers (2)

JPK
JPK

Reputation: 491

I believe the problem is that IE doesn't undderstand media queries.

Try this link

Upvotes: 1

Andy
Andy

Reputation: 14575

IE8 doesn't support media queries, you'll need to use a javascript library like Respond.js if you want that functionality in older browsers

Upvotes: 4

Related Questions