I can’t convert my website to responsive design because I can’t get anything to work on IE…
and now I just find out that – oh joy – media queries don’t work in IE… gee, what a suprise, eh… stupid me, expecting IE to work like a sane browser… I’m SO SICK of everyting being a problem in IE… and when you’re on a mac and don’t have access to IE, even more fun…:-o
everything I have done for IE, every time I go to the library to test, nothing, absolutely nothing, works in IE 7 or 8
for example, these use respond.js for the media queries for IE, but I could not get them to work in IE 7 or 8…
At least you know you are a member of a very large and sympathetic club…
Frankly, I see no purpose in trying to get Internet Exploder to recognize media queries. Let that browser just use the default styles (which have to be for desktop, obviously) and be done with it. Anyone clueless enough to be using IE 7 or 8 will be quite satisfied with a fixed width layout, even if it scrolls right a bit.
If your default styles are for mobile, you could always just offer up a conditional style sheet to IE with a fixed desktop layout. That’s probably easier than messing with JS, and more than IE deserves, IMHO.
Edit:
By the way, you certainly can test IE on your Mac. I have four versions of it installed on my Mac, via VMWare Fusion, though there are verious other options. As much as I hate IE and Windows, it is very handy to have such easy access to it. I can have multiple versions of IE open at once, alongside all my other browsers.
the thing is, I’m a developer and I need to learn to make things work in IE 7 & 8… I’ve always been very good with cross-browser/IE stuff, but this is cross-browser on a different level…;-o
this is the site I’ve been using as example for responsive design… www.bostonglobe.com… they support all the way from IE6 to the devices, they also support noscript and have print stylesheets… it’s friggin’ amazing, they support everything…
I actually also did you suggest, namely just use a style sheet for IE… (I guess should be for IE8 & older, yes?)
so I also tested these in IE at the library yesterday… page 1 page 2
IE would just not load the stylesheet that I have in the conditional, for example
and if you use HTML5 tags like <section>, <article>, etc… just doing a styleshseet for IE 7 & 8 won’t cut it…right?? that’s where modernizr comes in, yes?
this VMWare Fusion that you mentioned, you don’t have to restart your machine to switch from mac os to windows, right? because I know with some of these things you do have to do that…
not being able to test on IE is simply not an option with all this RD stuff, media queries, HTML5… because of course EVERYTHING is a problem in IE… (gasp…
thank you…
(PS (edit): of course what this tells me also is that any IE browser older than IE9 will land in the dustbin of history double quick… I know IE9 and above are much less problematic…)
Yes, same with Parallels and even the free alternative of VirtualBox (I believe). Basically you can have IE (even in multiple versions)—along with all the other Windows browsers, for that matter—open along with all your other Mac browsers. It works seamlessly, and is very handy indeed.
in both am loading IE stylesheet… one (the first one) with a conditional for IE… the other one (ie_mac.html) am loading exact same stylesheet, but w/o the conditional for IE… yet when I go to the library and load these two pages in IE they look completely different why is this? (they look fine in IE9 & 10, but in 8 & 7 it’s like they’re not reading the ie_index.css at all…)