Hello Andrew and Ross,

Thanks for the replies.

Taking your suggestions on the my CSS positioning, I made the
following modifications as can be seen from

http://faculty.unlv.edu/jensen/html/CSS/GoogleMapsAPI/divLogoFullPageMapsIE.html

1. When I use Mike's very helpful tutorial 
http://www.econym.org.uk/gmap/basic19.htm
I end up getting scroll bars in the browser window. I think the
solution is to use the overflow: hidden; in the CSS declaration block
(note sure if it needs to be added to a combination of DIV, BODY and
HTML tags) but I didn't have success with IE 6.

2. Using a tip from Beginning CSS by Richard York, ISBN
978-0-470-09697-0, p. 412. "For IE 6 to properly stretch the
absolutely positioned elements, it needs a bit of help."

div#container {
  width: expression(documentElement.offsetWidth - 5);
  height: expression(documentElement.offsetHeight - 5); // 5 should be
in units of pixels
}

Now when I test my CSS in IE 6, IE 8 and FireFox 3 I get a nice Google
Map which fills and dynamically resizes to the width and height of the
web browser window.

Switching topics, I'm still working on getting the new google.map AJAX
API to work since a majority of the documentation uses the older Gxxx
API.

Thanks again for the help,

JeffJensen

On Jun 15, 3:30 pm, Andrew Leach <[email protected]>
wrote:
> On Jun 15, 6:57 pm, JeffJensen <[email protected]> wrote:
>
> > Here is a link to my 
> > site:http://faculty.unlv.edu/jensen/html/GoogleEarth/divGoogleBarLogoHeade...
> > 2. when you adjust the size of the web browser window, a new scale bar
> > will appear on top of the Google Search Bar. How can I stop this
> > behavior?
>
> > I'm using FireFox 3.0.11 on WinXP computer.
>
> I can't reproduce that in FF 3.0.11 under WinXP. It all seems to work
> well.
>
> The problem with IE6 which Ross found is probably due to not giving
> the map div any dimensions. You need to specify width and height in
> IE6, which can cause problems with filling things to 100% of the
> height. See Mike's tutorialhttp://www.econym.org.uk/gmap/basic19.htm
>
> 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