开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜