Take the 2-minute tour ×

I have created a very simple Image map with area shapes.


<area shape="poly"
      onClick="document.location = 'http://url.com';" />

When i press the area the URL loads perfectly. But in Internet Explorer 7-8 the area that is a area shape gets white when you press it. And it then loads the URL.

How can i fix this? So that even in Internet Explorer no strange white boxes appear when pressing on the area shape?

share|improve this question
Why not use href normally? –  Lightness Races in Orbit Dec 3 '12 at 13:52
Thats because of a cookie that i set. The same strange white box also appears with the use of href. –  user1713954 Dec 3 '12 at 14:42

Your Answer



Browse other questions tagged or ask your own question.