Using Respond.js when your site CSS is on a CDN or Subdomain

That title is a mouthful.  It better get me more googleability on the Google.  But seriously, I ran into the strangest problem yesterday while trying to put lipstick on yet another pig.  If you haven’t heard of Respond.js then its time to roll out from under your rock.  If you have heard of it, then you know its about the most awesome solution to supporting @media queries (min-width & max-width) on IE8.

What’s this you say?  IE8 doesn’t support @media queries? Nope.  Go ahead, re-size one of your super responsive websites (including Bootstrap) in an IE8 browser, we’ll wait for you to come back.   If you didn’t leave, then you already know.  Response.js solves this problem, and if you’re like me, you don’t really care how.  You just know it’s a well known problem, with a well known solution.  You add the javascript library to your page and VOILA!, IE8 starts to behave.

(more…)

Read More