I am looking to implement Media Queries for Responsive Web Design. My goal is to have two distinct CSS files based on the browser width being either higher or lower than 900px.
Here is how I included the external stylesheets:
<link id="Min900" rel="stylesheet" type="text/css" href="style/Min900/schwarz.css" media="screen and (min-width: 900px)" />
<link id="Max899" rel="stylesheet" type="text/css" href="style/Max899/schwarz.css" media="screen and (max-width: 899px)" />
The interesting observation is that only the last specified external stylesheet gets loaded. Rearranging the order of the links changes which stylesheet takes effect.
However, my intention is for the stylesheets to dynamically change based on the width of the browser.