So i have this image with CSS styling:
.city1{
position: absolute;
/* float: left; */
top: 34px;
left: 170px;
}
<a href="malmo/"><img class="city1" src="images/city.png" alt="Malmö"></a>
Issue is when i use the position: absolute; when i resize my browser it changes the position. You may now say thats because its a absolute position and it follows the browser when you resize and such, but how do i solve this, so it doesnt move? thank you!