Google Map v3 InfoBox and closeBox

mayreindeer

New Member
I currently have a customised infoBox and I set properties using JScript\[code\]var infoBoxOptions = { content: infoContent ,disableAutoPan: false ,maxWidth: 0 ,pixelOffset: new google.maps.Size(-140, 0) ,zIndex: null ,boxStyle: { background: "url('/files/0/11/tipbox.gif') no-repeat" ,width: "255px" ,padding:"9px" } ,closeBoxURL: "/files/0/11/icon-close.gif" ,infoBoxClearance: new google.maps.Size(1, 1) ,isHidden: false ,pane: "floatPane" ,enableEventPropagation: false };\[/code\]when I check HTML the BoxClose image is as follows \[code\]<img align="right" style=" position: relative; cursor: pointer; margin: 2px;" src="http://stackoverflow.com/files/0/11/icon-close.gif">\[/code\]How can I set the position to absolute and give top and right properties to the close button?
 
Back
Top