My website features an embedded Google map in an iframe:
<iframe src="https://www.google.com/maps/d/u/0/embed?mid=EXAMPLE" style="top:0px; position:fixed; float:left; width:35%; height:400px;"></iframe>
Adjacent to the map, I have a table displaying data:
<table id="myTable" class="tablesorter tablesorter-default tablesorter7af52c677e1d6" width="500" border="1" style="display:block; float:left; width: 65%;" role="grid">
</table>
When the viewport size is above 1050px, the layout looks great. The table occupies 65% of the screen with the map at 35% on the upper right corner. However, when the viewport shrinks below 1050px, the iframe starts covering more of the table as it fails to scale properly. Additionally, the content within the iframe doesn't adjust in size, possibly due to Google's responsive design constraints.
Here is how it appears at +1050px (desired view):
https://i.sstatic.net/hIfFL.png
And here is how it looks at 500px (map overlapping table):
https://i.sstatic.net/QiUyV.png
The map now only displays 50% of the original content (between interstate 91 and Augusta), with the share option and info block removed (likely due to Google's responsive design).
If further details are required, please let me know. Below is the minimal HTML structure:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
</head>
<body>
<table id="myTable" class="tablesorter tablesorter-default tablesorter7af52c677e1d6" width="500" border="1" style="display:block; float:left; width: 65%;" role="grid">
</table>
<iframe src="https://www.google.com/maps/d/u/0/embed?mid=EXAMPLE" style="top:0px; position:fixed; float:left; width:35%; height:400px;"></iframe>
</body>
</html>
Visual representation of styles:
Table display:
https://i.sstatic.net/ud44B.png
Map display:
https://i.sstatic.net/yd3FN.png