Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

General Discussion

Having trouble with Image maps

Hello, I have been working on designing my own site which will include an image (.png) that I would like to use an image map on. I am not having trouble with the html, but with my coordinates. The image is 3300 by 2550 and when using CS6 (photoshop) to locate the coordinates, they all seem to have decimals in them. (for example my first X,Y pair is 23.722, 10.436) I am really not sure what to do since the points don't work with decimal values.

Any help would be appreciated, I am using a mac and don't wish to purchase any more software unless it is the only method.

Thanks in advance!

1 Answer

Dan Gorgone
Dan Gorgone
Treehouse Guest Teacher

Hi Bret, I'd suggest double checking that your rulers are displaying pixels rather than inches or another unit of measurement. That might be displaying units with decimals in them, which doesn't happen with pixels.