Good afternoon, there is an IMG c position: relative; and the parameters top and left are set. But when you increase the screen, the position of the picture changes, and you need to prescribe something so that the position changes depending on the resolution. Writing top and left for each screen resolution is not particularly good, so I think you can do it in javascript, could anyone help with this?
I will give an example code:
.slider-home-map { top: -750px; left: -380px; width: 100%; } <img src="/maps-new-home.png" class="slider-home-map" /> Here, in my resolution, 1280x1024 will be normally shown, and at a resolution of 1440, for example, another one, and in order not to assign a value to each resolution, you can make a javascript code that, if you increase the resolution by 1 pixel, will move the image by 1 pixel?

