【发布时间】:2011-10-10 22:42:59
【问题描述】:
我正在编写一个代码,其中所有图像都以前面的“/”引用
例如:
<img alt="" class="repositioned" src="/images/top-b-strip.jpg" />
我有一个 wamp 服务器,我在其中运行代码并发现图像无法正确显示,直到我删除图像之前的“/”。
<img alt="" class="repositioned" src="images/top-b-strip.jpg" />
谁能解释我在这里遗漏的任何东西?
【问题讨论】: