When programming a web page via PC, I added an image map whose image was relatively large, occupying the width of the entire page. The problem is that when you access a smaller screen, such as a notebook screen, the image does not resize along with the div like the rest of the page.
I have already tried to use max-width
and set the size in style
of div
, but did not work.
This is the code I'm using:
<div class="container">
<map name = "shape">
<area shape = "rect" coords = "0, 0, 500, 500"
href="/31.01.2018/production/ajax/historicoperini1.php"/>
</map>
<img src=".01.2018\production\imagem.jfif" usemap="#shape" />
</div>
Note: HTML / CSS / JAVASCRIPT