Add a div inside your infowindow
<div id=\"mydiv\">YourContent</div>
Then set the size using css. works for me. This asumes all infowindows are the same size!
#mydiv{
width:500px;
height:100px;
}
More Related Contents:
- Google Maps: How to create a custom InfoWindow?
- Close ad to continue as free user?
- How to add a black shadow on top of a div block with background image?
- JS hide function error
- How to read with JavaScript [closed]
- How to implement something like this GIF that using mouse drag and select items
- Javascript counting all the characters from a HTML document
- Load and execution sequence of a web page?
- Disabling browser print options (headers, footers, margins) from page?
- HTML selected option background-color CSS style
- Why my show hide button needs double-click on first time
- How to dynamically create ‘@-Keyframe’ CSS animations?
- Infinity Loop Slider Concepts
- Make anchor link go some pixels above where it’s linked to
- Where should I put the CSS and Javascript code in an HTML webpage?
- Text blinking jQuery
- Opening new window in HTML for target=”_blank”
- Shrink DIV to text that’s wrapped to its max-width?
- jQuery vs document.querySelectorAll
- Why scripts at the end of body tag
- How to Toggle a div’s visibility by using a button click
- How to disable elements selection and resizing in contenteditable div?
- collapse and expand tabs jquery / simple accordion
- How to trigger CSS “hover state” using Javascript? [duplicate]
- Gaussian Blur onHover Using jQuery
- Pausing CSS animation with javascript and also jumping to a specific place in the animation
- Google’s Imageless Buttons
- Add CSS styled marker to google maps
- How to apply background-color to a selected option?
- Get All Elements in an HTML document with a specific CSS Class