nelsondesigns — 2013-06-25T09:08:02-04:00 — #1
if you look at my site www.opentech-us.com in IE8 you will see it looks like crap and from what I can tell it would seem that IE8 is reading ALL the CSS styles in my style sheet and completely ignoring the media queries I have written....meaning it is just reading EVERYTHING which in the order of the cascade means the last overriding rules in my sheet are for my mobile styles, which I think is why my site looks like crap in IE8. Is there a way I can get IE8 to recognize these properly? What are my options? Please help!
ralphm — 2013-06-25T09:14:43-04:00 — #2
IE8 does not recognise @media rules. You could offer it special styles via conditional comments, though.
nelsondesigns — 2013-06-25T10:28:18-04:00 — #3
Can you please share an example of what you mean by conditional comments?
paulob — 2013-06-25T14:49:47-04:00 — #4
That's the drawback of the "mobile first" approach in that IE8 and under get the basic versions as they don't understand media queries.
If you don't want to use conditional comments you could add just add media query ability with a small script.
The css reference has examples of how to use Conditional comments and it will basically mean duplicating the styles that you are supplying to wider devices.
nelsondesigns — 2013-06-25T16:55:51-04:00 — #5
Can you please look at my source on the homepage and look at line 94. I did uplaod the Respond.js stuff and it didn't do anything.....did I do something wrong?
paulob — 2013-06-26T11:08:51-04:00 — #6
system — 2014-10-08T00:28:01-04:00 — #7
This topic is now closed. New replies are no longer allowed.