Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

External media query stylesheet fails #114

JPedersen opened this Issue Mar 21, 2012 · 1 comment


None yet
2 participants

When setting a <link media="screen (min-width: 480px)"> plus having extra @media queries in the external stylesheet the rules without the extra @media queries does not apply in IE 7, IE 8.

Test page

External link

Recreate the issue

  1. Open the test page in IE 7 or IE 8
  2. Resize the window down/up

Expected result

The stylesheet is not loaded unless the window is at least 480px wide so the body should be white.
Resizing it up from 480px should give colours in this array; Black, Cyan, Magenta, Yellow.

IE 7, IE 8 result

The black is never shown.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment