i use ie8 and firefox 3.6 and happens the same thing. try this way:
1 - press the button legenda once (the legenda will appear down the button) 2 - double click on the map do you see that the legenda has moved? On 4 Ago, 14:19, Rossko <ros...@culzean.clara.co.uk> wrote: > > 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. > > Can't see that happen. What browser are you using? > > > if I write into the css: > > .legenda > > { > > border-style : solid; > > border-width : 2px; > > } > > the style won't take effect. > > That's right ; your legend hasn't got class='legenda'. You need to > assign a class name to the div that you create. (You might find it > easier to understand if you don't use the same name for everything) > legenda.className = 'rhubarb' ; > This isn't a maps question. > > > 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 -- 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.