Advertisement Jump to content
  • Advertisement


Sign in to follow this  
  • entries
  • comments
  • views


Sign in to follow this  
Will F


Did some work for someone's website today - not something I do all that often. Though i'm thinking about actually putting some effort into finding some HTML, PHP, my/postgre SQL, etc. work just to get some money coming in.

Anyways, I needed to map some links to different parts of an image. Got everything up and running smoothly until I tested it for compatibility with Internet Explorer (I use Firefox).

Annoyingly IE doesn't support the shape="default" attribute of the tag in the W3C HTML recommendation - meaning that it didn't work properly in IE.
I fixed it with a work around, but it's a pain that you have to test everything with at least Firefox and IE to make sure everything that should work actually does.
Sign in to follow this  


Recommended Comments

It's things like that that make me want IE7 to be released soon. I think the population of Windows users that arent using XPSP2 might be small enough now to justify having them deal with a (hopefully) graceful page degradation.

Share this comment

Link to comment
I'd just manually split the image up into different images and then just use standard HTML IMG and A tags to put together the entire image.

Share this comment

Link to comment
I'm not sure IE7 will do much to fix this. The shape=default attribute has been part of HTML for years. Oh well.

As for splitting up the image, not a bad idea but some of the links aren't rectangular, so shape=polygon and then defining the polygon makes life easier.

Share this comment

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!