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

#106111
sliver37
Member

@goalieman34

You need to set a logical parent container to “position: relative” so that when you set “position: absolute” on each link, it will have the correct context.

For example the way your mark-up is currently, the #content would be a decent place to set “position: relative”.

What happens when you don’t explicitly set the new context on a parent is it uses the highest level it can find, all the way up to the body tag. (which is why your images appeared to be disappearing).