Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.
media queries in IE
Got problems on my page using mediaqueries. In mozilla, chrome, safari everything work out perfectly, just IE doesn´t work at all. I even tried it in IE 11, IE 10 and IE 9. Just at every 20th time in IE11 it work out(no clue why) well at least on the start-page but all the other times the screen stuck at one size and moreover the css-styling (margins) doesn´t work correctly. I also tried to impliment modernizr in the headsection with:
But it does´t change anything at all. Any suggestions? I already spend hours to find some solution at the internet, but didn´t find anything to solve the problem. I just read, that for IE 9 and above, it should be no problem for the browser to deal with mediaqueries, so I wonder even more about my problems...?!?!
Ron McCranie7,836 Points
Without seeing all the markup it's difficult to pin point the issue. I would start by making sure your media query syntax is correct as IE can be very picky about syntax and modern browsers can be more forgiving.