Forums

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

Home Forums CSS CSS rollover image – USA Map Re: CSS rollover image – USA Map

#50374
mikes
Member

My first thought was…

Instead of a sprite containing 50 versions of the US, why not use 50 sprites each containing 2 normal and highlight versions of each state and use absolute positioning for each image?

But the images would still be rectangular and overlap causing issues with selection. Personally, I think the best way is to use an image map. It will take a while to create but you don’t have to be exact. Even A large circular area in the center of each state would probably would very well.