New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does it work with multiple MQs in 1 stylesheet? #123
Comments
It does work with multiple media queries in one css file. |
Any idea what I'm doing wrong then?
|
You'll have to post more about your environment (OS, Browser, version) and include a test case that reproduces the issue. |
I have the same issue, IE7-8 using ajax to call different pages. Im doing the respond update, but still doesn't do a thing on IE. Any clue? |
multiple media queries in one css file does not work. It’s written in the doc. But it would be great it does. |
hmm. That's not quite true. Respond.js is designed to translate inline media queries as described. I'll have to take a look at the CSS source to see what the conflict is. Did you validate the CSS? stray brackets can trip up the parser. also, if you have any "@media" within comments, that'll cause problems too. On Sep 7, 2012, at 4:14 PM, synthview wrote:
|
Oh really? #logo a{ .photoList li{ .listHeader .fastNav{ #downloadDocs{ #espacePresseForm #grayBkg{ #tri{ } .listHeader{ .bigRuler, .headerRuler{ #rebondsParcours .headerRuler{ #festivalPage #ou{ } @media all and (min-width: 900px){ } edit : If I keep the @media, the bigger image is displayed on IE7 and IE8 (and it shouldn’t) When I used the same system for standard queries (non retina) IE 8 and 7 shown the 1st stylesheet only. I've sent you an email with the url of the website using your script |
I'm sorry. trying again today the @media inside a css works. It was maybe something with js cascade or some latencies of the server. |
GOT IT! @media all and (min-width: [somevalue]){ works only if it’s inside a regular (non query) css. The script crashes if you have a css query on your html calling another query inside it! |
Closing this.. Nested queries are not currently supported. |
Hi,
Sorry if my question is very obvious, but I read the readme over 10 times and still can't get it (and the script throws a JS error).
I've used it before with media queries for each stylesheet, today I try to use with media queries all in one main stylesheet... Does this work?
Thanks in advance for your help..
The text was updated successfully, but these errors were encountered: