Thierry Posted January 7, 2009 Share Posted January 7, 2009 Hello, I'm trying to create an image map with some countries in it, and although it works if the image itself is static, I need the image to be positioned via left & top, so I need to use position:absolute; However when I do, the image maps cease to work, giving them position:absolute didn't work. Anyone know how to get an image with position:absolute to work with image maps? Quote Link to comment https://forums.phpfreaks.com/topic/139837-html-image-area-shapes-poly-with-position-absolute/ Share on other sites More sharing options...
xtopolis Posted January 8, 2009 Share Posted January 8, 2009 I assume you would have to offset the map coords by the same amount OR Position a parent element of the image absolutely and not the image itself. Quote Link to comment https://forums.phpfreaks.com/topic/139837-html-image-area-shapes-poly-with-position-absolute/#findComment-732154 Share on other sites More sharing options...
Thierry Posted January 8, 2009 Author Share Posted January 8, 2009 Ah yes, I didn't modify the position of the Area Shape relative to the image itself, thx! Quote Link to comment https://forums.phpfreaks.com/topic/139837-html-image-area-shapes-poly-with-position-absolute/#findComment-732327 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.