Skip to content Skip to sidebar Skip to footer

-webkit-tap-highlight-color Not Applied To Area Tag

Ok, I know this has been asked many times, but my situation is a bit different: I have an image map and I don't want Android/iPhone to display the green border (gray overlay on iPh

Solution 1:

Unfortunately, browsers doesn't allow to set(and run) css properties to area tags.

I use maphilight plugin to do that in jquery, it works like a charm : http://davidlynch.org/projects/maphilight/docs/

Example, here : http://davidlynch.org/projects/maphilight/docs/demo_usa.html

Then, I guess that you could set transparent border with : stroke: false

Post a Comment for "-webkit-tap-highlight-color Not Applied To Area Tag"