I'm currently facing an issue with creating a map where I am adding pins using CSS coordinates. Every time I add a new pin div, it creates additional line breaks beneath the map. This could become problematic as I have around 130 pins to add in total. Here is the code snippet:
<img src="bilder/kart.png" alt="kart" class="kartet">//Map
<div class="naal london" onclick="writeText(london);" style="cursor:pointer;" title="London - Storbritannia"></div> //Pin #1
<div class="naal dublin" onclick="writeText(dublin);" style="cursor:pointer;" title="Dublin - Irland"></div> //pin 2... and so on.
I have tried experimenting with various display properties and max-height in CSS to remove the added spacing by these div tags but haven't been successful without affecting my pins. Any suggestions or solutions would be greatly appreciated!
Thank you in advance for your help :)