I have included a Google map on my website using an iframe.
Here is the code I am using:
HTML
<div class="iframe-maps">
<iframe src="https://www.google.com/maps/d/embed?mid=1Z_DcQ-f4EdnEwL6sRKfLCYCj5P8&hl=en" width="100%" height="100%"></iframe>
</div>
and:
CSS
.iframe-maps {
width: 80%;
}
I followed the suggestion to wrap the iframe in a div, but it did not make any difference.
It seems to be working fine in Firefox and Edge, both on desktop and mobile, but Chrome is giving me trouble. I am not sure about Safari. I thought this would be a simple task. Is there something I overlooked?
The only information I could find related to this problem dates back to 2010 here: . I assume this issue has been resolved by now.