rawkinrich100 — 2012-05-19T09:01:21-04:00 — #1
I'm just getting into responsive design and am struggling with IE (I assume this is a common problem).
If any of you fine people could take a look at http://rich.me.uk and:
- Let me know why it's not working in IE6-8 - I'm using respond.src.js
- See if I can optimise the CSS - can I minimize it?
- Have I done anything else wrong?
Any advice would be much appreciated.
felgall — 2012-05-21T17:52:49-04:00 — #2
To use media queries without breaking the page in old versions of IE you need to specify a stylesheet without media queries first in your page. The stylesheets using media queries can then follow it overriding the styles as required. Old versions of IE can then use the styles in the first stylesheet and will ignore the following ones that they don't understand.
Unfortunately this means that you end up deliering a lot of additional styles to mobile devices that are subsequently overridden where it would be more efficient to provide the mobile styles first (but that would break the old versions of IE).
computerbarry — 2012-06-06T09:50:53-04:00 — #3
Isn't there a way around this Stephen?
mittineague — 2014-09-18T13:50:38-04:00 — #4
This topic is now archived. It is frozen and cannot be changed in any way.