0
我正在制作我的第一个网站,并最终让所有东西都托管了,但图片并未在Google Chrome浏览器中显示。当我在IE中工作时,我感到非常惊讶,因为我认为他们通常会遇到最大的麻烦。png在Firefox/IE中显示但不是铬色
这里就是我输入图像的HTML:
<th class="red-header"><p>Strength</p>
<img src="./pictures/strength.png" alt="str" class="str">
</th>
<th class="blue-header"><p>Intelligence</p>
<img src="./pictures/intelligence.png" alt="int" class="int">
</th>
<th class="green-header"><p>Dexterity</p>
<img src="./pictures/dexterity.png" alt="dex" class="dex">
</th>
和
<th class="red-header"><p>Fire</p>
<img src="./pictures/fire.png" alt="fire" class="fire">
</th>
<th class="blue-header"><p>Cold</p>
<img src="./pictures/cold.png" alt="cold" class="cold">
</th>
<th class="yellow-header"><p>Lightning</p>
<img src="./pictures/lightning.png" alt="lightning" class="lightning">
</th>
我找不到任何东西在我的搜索帮助。请分享您的想法或让我知道我能做些什么来帮助您回答。
打开控制台,并检查文件是否返回404.您是否尝试点击CTRL-F5等? – adeneo
你究竟是什么意思?该网站托管在Hostgator上,图片文件位于其服务器上的目录中,并在2/3浏览器上显示。 –
哦,我的上帝ctrl-f5工作。为什么?? –