title: Cannot set map's div height for openlayers map
body: <p>This code make the map's div width max but height to 0 (the % value doesn't matter, it's always 0)</p>
  
  <pre><code>&lt;div id="map" style="width: 100%; height: 100%;"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>This works, as it sets the map's div to a fixed size, but is obviously not what I want.</p>
  
  <pre><code>&lt;div id="map" style="width: 100%; height: 500px;"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>Has someone experienced this? Anyone a suggestion on how to fix this?</p>
  
  <p>I'm also using jquery(-mobile)</p>
  
  <p>Thanks</p>