After my previous attempt to change a div's background image when hovering on it (Change div Background Image when hovering on another div), I am now exploring the idea of adding a box that appears when hovering over each div representing a continent. Following a similar approach as suggested by @itodd in their response to the previous post, but encountering some issues with this new implementation.
h1 {
font-size: 25px;
font-weight: 200;
}
.container {
width: 1030px;
margin: left;
}
.hlinkHomeAmer,
.hlinkHomeEmea,
.hlinkHomeAsia {
font-size: 10px;
color: black;
background-color: antiquewhite;
visibility: hidden;
}
/* Interactive Map */
.map,
.map-wrapper {
position: absolute;
width: 960px;
height: 540px;
border: 0px;
}
.map {
background-image: url(World_Map.jpg);
z-index: -1;
}
/* div */
.americas,
.americas-wrapper {
position: absolute;
width: 364.8px;
...
... (truncated for brevity)
</div>
</div>
</div>