Using Image Map within a div with CSS rules
I have created a div with a image I'm using with Image Map.
<div id="image">
<img src="image.png" usemap="imag开发者_高级运维emap">
</div>
Css:
#image { float: right; }
But when I use the CSS with the Image Map, it doesn't work. What is the problem?
Here is a decent Tutorial on image maps hope this can help explain the process a little better.
I solved the problem by using
<div id="image" align="right">
<img src="image.png" usemap="imagemap">
</div>
and dropped the CSS.
Pretty decent Tutorial here, although the mapping is limited to rectangles.
精彩评论