Thanks Marcelo,

I think you're right--I should try to set up a demo page and see if I
can find the problem. I definitely have quite a bit of CSS going on
here: a main CSS, an IE-specific CSS, a print CSS, two CSS's from
Google, plus another CSS to fix display problems from Google's CSS!
All to try to get things to display well at different font sizes and
browser window sizes. Of course old browsers don't work well at
anything, especially IE6. Not surprised that IE6 doesn't know how to
print using CSS, that I can accept. Now I need to look at it with FF2
though--been using 3 and it's mostly great except for the printing
issues I'm trying to iron out. In fact it's FF3 that causes the
greatest shift when trying to print for me.

I'll try to put together a demo page to see if I can recreate the
behavior--I'm sure I'll need some CSS since the dynamic sizing of the
map div is what's causing it. The thing that makes me nuts is that re-
sizing the map div is fine as long as it's not done for printing. I
use this:

<code>
    map._lastCenter=map.getCenter();
    GEvent.addListener(map, 'moveend', function()
                       { map._lastCenter=map.getCenter(); });
    GEvent.addListener(map, 'resize', function()
                       { map.setCenter(map._lastCenter); });
</code>
(saw that here somewhere I think)

And changes to the map div size result in an update to the map center.
The div changes size when the user changes the font size or
potentially the window size as well (up to limits).

I'll post here again if I can create the problem with a simpler demo
page, and I'll put the script and CSS all in the page (except for
Google's stuff--BTW, that's for the google.maps.LocalSearch control,
which is described at: 
http://www.google.com/uds/solutions/localsearch/reference.html).

Thanks again,
Brian

On Apr 21, 4:33 pm, marcelo <[email protected]> wrote:
> On Apr 21, 9:58 pm, Brian P <[email protected]> wrote:
>
> > Please someone let me know if I'm asking a reasonable question here.
>
> The reason why no one has responded so far could be that your page
> requires some special conditions to be examined.
> I don't have a printer and I don't have IE7, so I had to install a
> printer in order to view your page with "print preview".
>
> I looked at it with FF2 and IE6.
>
> On FF2, the map prints on the same position as it is seen in the
> browser, but the polygons do not print, and the page width is some
> fixed value.
> In IE6, the page is much wider, (full screen width), and therefore
> wider than the print page.
>
> I think your issue is in the CSS, but you're loading as many as 6 CSS
> files and I really don't have the time to examine them all in detail.
> I'd suggest asking in a CSS group, otherwise it would probably help if
> you could build a simpler stripped down page that demonstrates the
> problem, and in the process of doing that you might find the answer
> yourself.
>
> --
> Marcelo -http://maps.forum.nu
> --
--~--~---------~--~----~------------~-------~--~----~
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