diff --git a/lib/OpenLayers/Popup.js b/lib/OpenLayers/Popup.js index 0f7e810656..8c0b8eb114 100644 --- a/lib/OpenLayers/Popup.js +++ b/lib/OpenLayers/Popup.js @@ -207,6 +207,10 @@ OpenLayers.Popup.prototype = { this.div.style.width = this.size.w + "px"; this.div.style.height = this.size.h + "px"; } + if (this.contentDiv != null){ + this.contentDiv.style.width = this.size.w + "px"; + this.contentDiv.style.height = this.size.h + "px"; + } }, /**