Hi there i got following problem:
-I am using an ImageMap to make different parts of an image clickable, which works fine. I am intercepting the link clicks via a WebViewClient and do something else with them. Problem is, i don´t want the clicked area to be highlighted/selected. The following style doesn´t seem to work. I have tested this on various Android devices (2.2, 2.3, 4.0 etc. ) and the rectangle lights up everytime i click on the area of the image. Anybody got any ideas ?
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<style>
a{outline:none;}
a:active{outline:none;}
a:focus{outline:none;}
area,area:active,area:focus {outline: none; border:0; }
*{-webkit-tap-highlight-color:rgba(0,0,0,0);}
</style>
</head>
<body>
<img usemap="#map1" src="sourceimage" >
<map name="map1">
<area href="do1" alt="text1" coords="338,142,209,182"
shape="rect">
...
</map>
</body>
</html>