怎么在图片上添加链接呢,就是点击图片的时候会打开另一个网页,请详细举例说明,谢谢

如图片插在<div class="ad"> </div>之间,图片css是这样定义的
.ad {
background-image: url(img/cp.gif);
background-repeat: no-repeat;
background-position: left 0px;
height: 100px;
width: 100px;
}

用dreamweaver可是话操作添加连接就可以了
温馨提示:内容为网友见解,仅供参考
无其他回答
相似回答