【发布时间】:2013-11-27 09:11:32
【问题描述】:
我有以下代码,它在所有浏览器中都可以使用,除了 mozilla,它只显示图像的 alt... 有什么问题?
<a href="mmm.html" >
<img src="img\rounded\m1.png" alt="m1" width= "10%" height= "30%"/>
</a>
【问题讨论】:
我有以下代码,它在所有浏览器中都可以使用,除了 mozilla,它只显示图像的 alt... 有什么问题?
<a href="mmm.html" >
<img src="img\rounded\m1.png" alt="m1" width= "10%" height= "30%"/>
</a>
【问题讨论】:
字符错误。试试:
<a href="mmm.html" >
<img src="img/rounded/m1.png" alt="m1" width= "10%" height= "30%"/> </a>
注意src的路径。您应该使用“/”而不是“\”。
【讨论】: