图像映射使我们可以将图像的一些区域指定为热点。下面我们来看看图像映射的xhtml和css代码:
xhtml:
div id="pic"
img src="img.jpg" width="600" height="450" alt="img" /
ul
li class="avirl"a href="#" title="avirl"span class="outer"span class="inner"span class="note"Avirl/span/span/span/a/li
li class="guitar"a href="#" title="guitar"span class="outer"span class="inner"span class="note"Guitar/span/span/span/a/li
li class="mike"a href="#" title="mike"span class="outer"span class="inner"span class="note"Mike/span/span/span/a/li
/ul
/div
css:
#pic{
w...[ 查看全文 ]