我测试给每个热区加一个背景图片,为何这个背景图片都不显示??????????<img src="upload/big/2005920152215.gif" width="600" height="454" border="0" usemap="#Map">
<map name="Map">
  <area shape="rect" coords="152,118,351,235" href="#" style='background-image:url(images/a1.gif)'>
</map>
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++我的图片地址都是有效路径,为何啊,大家有没有好的方法啊,我都搞晕了^_^

解决方案 »

  1.   

    我把这两幅图片放到同一个目录下,再测试,还是一样:(((<img src="2005920152215.jpg" width="600" height="454" border="0" usemap="#Map">
    <map name="Map">
      <area shape="rect" coords="152,118,351,235" href="#" style='background-image:url(a1.gif)'>
    </map>
      

  2.   

    我用层的技术好像可以^_^
    <div id="Layer2" style="position:absolute; width:8px; height:8px; z-index:2; left: 140px; top: 145px; background-color:#D4D0C8">
     <IMG SRC=a1.gif WIDTH=8 HEIGHT=8 BORDER=0>
    </div>
    <img src="2005920152215.jpg" width="600" height="454" border="0" usemap="#Map">
    <map name="Map">
      <area shape="rect" coords="140,145,224,208" href="#">
    </map>