Div, Background Image, and Image Map
Posted
by Coolmoondog
on Stack Overflow
See other posts from Stack Overflow
or by Coolmoondog
Published on 2009-11-13T12:21:27Z
Indexed on
2010/05/16
17:10 UTC
Read the original article
Hit count: 285
On a web page I'm creating, I have a div with a background image. I overlay some text over the image that I'll be changing frequently, so that's why I'm using a background image and real text instead of an img tag that contains the text.
The background image contains some click-able areas, so I need an image map.
I think the best way to do this is to have another overlay div with a transparent image, and have an image map for the transparent image that corresponds to the background area click-able areas.
Am I on the right track, or is there a better way?
© Stack Overflow or respective owner