that's weird.  The css should already be setting the width to 256.  I
suppose since I know the width of the navbar, I could just hard code
it, instead of trying to get it dynamically, but that just seems...
hackish, to me.

On May 8, 6:54 pm, Andrew Leach <[email protected]> wrote:
> On May 8, 11:25 pm, Leanan <[email protected]> wrote:
>
> > I've even tried creating a GSize object and specifying it in the opts
> > for the constructor to the map to no avail.
>
> I have Chrome. This line
>   map_width   = ($(window).width() - $('#left_nav').width() + 13);
> is being evaluated as
>   1024 - 1008 + 13 = 29
> which is odd. I've no idea where the 1008 is coming from.
>
> I can get it to work by explicitly setting the width of #left_nav:
>   <div id="left_nav" style="width:256px"> </div>
> and I can get it to work if the div has some content:
>   <div id="left_nav">LEFT</div>
>
> You may have found a bug in Chrome.
>
> Andrew
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to