Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other HTML Image Map Re: HTML Image Map

#104818
dfogge
Participant

hey goalieman, the reason for the shift appears to be the mapmarker is positioned using “position: relative” which is bumping all the following content down to accomodate itself.

in your CSS try positioning your “:hover::after”‘s contents using “position: absolute” instead of “postion:relative”.

check out this post by mr coyier on his “ah-ha moment” relating to this. understanding how this works will help you go a long way towards understanding the “cascade.”