2
When programming a web page via PC I added an image map whose image was relatively large, occupying the width of the whole page. The problem is that when accessing through a smaller screen, such as a notebook for example, the image does not resize along with the div as the rest of the page.
I’ve tried to use max-width
and set the size on style
of div
, but it didn’t work out.
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="\31.01.2018\production\imagem.jfif" usemap="#shape" />
</div>
Note: HTML/CSS/JAVASCRIPT language