the first problem is the DOCTYPE: if I don't specify it, the map will
be loaded.

now i've put the css into the root, but is still the same.

if you press on the button "Legenda", the legend appear, but if tou
make a double click, or zoom, or change the map, the legend will move
automatically.

There is another problem: the only way to apply the style, is to
specify the parameters by this way:

legenda.style.borderStyle = 'solid';
legenda.style.borderWidth = '2px';

if I write into the css:

.legenda
{
border-style : solid;
border-width : 2px;
}

the style won't take effect.
I hope I explained it well.


On 4 Ago, 13:05, Kesuke <nick_dai...@hotmail.com> wrote:
> 1. Your map isn't working in IE (but is in Firefox).
> 2. The root to 'main.css' is broken (or the file is non-existent)
> which may well be causing some of your problems.
> 3. Try replacing your doctype with - <!DOCTYPE html> to load in
> standards mode.
>
> Personally, I wouldn't link a css document for this. You're only going
> to have a few css definitions anyway so just stick them in the same
> document. It will load faster, keep everything together and help us
> understand what's happening.
>
> I suspect that almost all the problems you have are to do with your
> CSS rather than the map API.
>
> On Aug 4, 10:17 am, inotipiedideipitoni
>
> <inotipiedideipit...@gmail.com> wrote:
> > yes: the page is still
>
> >http://www.federicarizzi.com/map/legend.html
>
> > now i've specified the doctype and legenda now is a normal div (i've
> > tryed to create a class named lagenda for the css, but i think i made
> > some mistakes).
>
> > the problem is still the same: when I open the "legenda" and i make a
> > zoom or double click, the legenda will move...
>
> > thanks for support
>
> > On 4 Ago, 10:59, Rossko <ros...@culzean.clara.co.uk> wrote:
>
> > > > i've built the legend, but if i make a double click on the map (with
> > > > the legend open), the legend will move!
>
> > > Assuming we are still on
> > >    http://www.federicarizzi.com/map/legend.html
> > > it doesn't do that on FF2
>
> > > No legend button at all in IE6, that might be the lack of <!DOCTYPE
>
> > > Your script is creating some mystery tag
> > >    legenda = document.createElement("CLASS");
> > > I'm not sure what that is about.  It'll probably work better if you
> > > use a conventional tag recognised by browsers, like <div>- Hide quoted 
> > > text -
>
> > - Show quoted text -

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to