由于某些原因,当我在网站上的某些图片上添加了alt标记时,它更改了尺寸。img alt更改图片尺寸
www.dweeman.com/eb/sitetemplate.html有alt标签
<table id="sidebar">
<tr id="sidebar">
<td><img src="images/photos/venetian_sample.gif" alt="venetian blind icon"></td>
<td id="sidebar"><a href="blinds.html#venetian">Venetian Blinds</a></td>
</tr>
</table>
www.dweeman.com/eb/index.html不具有alt标签
<table id="sidebar">
<tr id="sidebar">
<td><img src="images/photos/venetian_sample.gif"></td>
<td id="sidebar"><a href="blinds.html#venetian">Venetian Blinds</a></td>
</tr>
</table>
它们都使用相同的样式表都
,否则在该分区完全相同的HTML。
人知道为什么会是什么?我知道图像没有加载。他们还没有制定。但是我想在未来不加载的情况下解决这个问题,所以不会导致我的身体消失。
所有的图像都是404'? – Shannon
如果你的意思是现在的图像大小,它可能与alt文本的长度有关。您可以使用CSS设置大小,以确保它们都是统一的。 – Shannon
是的,我还没有创建图像,但他们将是50 * 50px。 – dweeman