This code makes the maximum width of the card max, but the height is up to 0 (the value of% does not matter, always 0)
<div id="map" style="width: 100%; height: 100%;"></div>
This works because it sets the display of the div to a fixed size, but obviously not what I want.
<div id="map" style="width: 100%; height: 500px;"></div>
Has anyone experienced this? Any suggestion on how to fix this?
I also use jquery (-mobile)
thanks
source share