title: Only landscape mode works in iPad portrait orientation (CSS)
body: <p>If you go <a href="http://eastcoworldwide.com/Proofs/mint/index.html" rel="nofollow noreferrer">here</a> on an iPad, and click through to <code>Chapter1 &gt; Chapter 1 &gt; Get started...</code> you will see after a loading screen the Chapter 1 page.</p>
  <p>Basically what this is, is html embedded into an iframe being pulled together by HTML5 and JavaScript. the html in this iframe calls its own css sheet called other.css. The html file that pulls this all together is  calling a stylesheet called styles.css.</p>
  <p>Obviously I want in portrait view the content area of this iframe to be smaller than in landscape. I am using the css in other.css :</p>
  <pre><code>@media only screen and (device-width: 768px) and (orientation:landscape) {
      #content {background:green;}
  }
  
  
  @media only screen and (device-width: 768px) and (orientation:portrait) {
      #content {background:blue;}
  }
  </code></pre>
  <p>The problem is that its like it doesn't even see the portrait css. I have tried a dozen different ways ( this is supposed to be the correct way and works for the styles.css adjustments to the whole page) but it will not recognize it. It will only use the landscape. Its not as though it wont see the media queries, it pulls the landscape CSS. But WILL NOT use the portrait. Really weird. If you see green for the bg in portrait and landscape its ignoring the portrait. If you see blue it's working. How can I achieve this?</p>
  <p>If I get rid of landscape CSS, it prefers the default to the portrait. makes no sense. Could the iframe be hindering its pulling in new CSS upon orientation change?</p>