1

Is it possible to add a css border to a HTML Imagemap?

user237060
  • 2,599
  • 4
  • 18
  • 7

2 Answers2

3

I doubt there's a cross browser CSS solution, but this jQuery plugin can do what you're after:
jQuery MapHilight

It can show the border without hover if you specify alwaysOn:true, as seen on the first example there (the black part is done using the plugin).

Kobi
  • 135,331
  • 41
  • 252
  • 292
1

2 option :

1 - wrap your image with div and give him border .

2 - build your image map with divs + css background images

like in this example :

http://www.noobcube.com/tutorials/html-css/css-image-maps-a-beginners-guide-/

Haim Evgi
  • 123,187
  • 45
  • 217
  • 223