HTML Imagemap - Border
Is it possible to add a css border to开发者_开发知识库 a HTML Imagemap?
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).
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-/
精彩评论