On Jun 21, 3:44 pm, Alexander Kotelnikov <[email protected]> wrote: > > map_div.setAttribute("style", "width:400px; height: 300px"); > instead of setting the "style" attribute, you can set the attributes individually: map_div.style.width = "400px"; map_div.style.height = "300px";
or you can set them all like this: map_div.style.cssText = "width:400px; height:300px"; ... -- 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 [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-js-api-v3?hl=en.
