Thanks! That's just what I needed. I was expecting the normal
web html/css to work with jquery - hah!
I think a lot of jquery + map users are missing this info. Maybe
you should add it to more discussions on the jquery forum and
shamelessly plug your jquery ui maps at the same time :-)
On Mar 24, 12:16 am, Johan Säll Larsson <
johansalllars...@gmail.com>
wrote:
> Hi,
>
> You can do like this:
>
> <div data-role="page" class="page-map">
> <div data-role="content">
> <div id="map-canvas"><!-- MAP LOADS HERE --></div>
> </div>
> </div>
>
> .page-map, .ui-content, #map-canvas { width: 100%; height: 100%; padding: 0;}
>
> #map-canvas { height: min-height: 100%; }
>
> If I remember correctly it's because the <div> with height 100% will look to
> it's parents height, so in a normal web page you would set something like
> this
>
> html, body { height: 100%; }
> #someDiv { min-height: 100%; }
>