I have a responsive image of a map. On top of that map I want to add some pins. These pins cannot change position when the screen size is changed. I've tried many things but the pins keep changing position when the screen size is changed. Does somebody know how I can fix this problem? Thanks in advance!
<div style="width: 100%; height: 100%; position: relative">
<div style="width: 100%; height: auto; position: absolute">
<img src="worldmap.png" style="max-width: 100%; width: 100%">
</div>
<div style="position: absolute; top: 40px; left: 100px; width: 100%; height: auto">
<img src="pin.png" style="max-width: 5%; top: 50px; left: 100px">
</div>
</div>