How to resize google infoWindow

cisco123

New Member
I have a problem using infoWindow on Google Maps to show some information. I want to make this white div smaller so that it can match in size the grey box inside it. And I want to make this "white" arrow which is going from the marker to the white div to be smaller too.Here is the picture:
bNj1m.png
My code:\[code\]var contentString = '<form >'+ '<h2><b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Data:</b></h2>'+ '<div id="bodyContent">'+ '<div style=width:220px;display:inline-block;>'+ '<p>&nbsp;' +'</p>' + '<p>&nbsp;' + '</p>' + '<p>&nbsp;' + '</p>' + '<p>&nbsp;' + '</p>' + '</div>'+ '<div style=width:220px;display:inline-block;>'+ '<p>&nbsp;' +'</p>' + '<p>&nbsp;' + '</p>' + '<p>&nbsp;' + '</p>' + '<p>&nbsp;' + '</p>' + '</div>'+ '</div>'+ '</form>';var infowindow = new google.maps.InfoWindow({ content: contentString});/* info window */infowindow.open(map,tracked);\[/code\]
 
Back
Top