【发布时间】:2011-10-04 10:13:55
【问题描述】:
我对右侧 4 个小图像的间距有疑问。 在 Firefox、Chrome 中一切正常,但在 IE9 中扩展。
CSS looks like this:
.fixedtable{
width: 90px;
overflow: hidden;
text-align: right;
vertical-align: top;
}
感谢您提供解决此问题的任何建议..
丰富
注意 - 这是示例 HTML(从评论中移出):
<tr>
<td class="fixedtable">
<img src="images/service-now.jpg" alt="aga service" width="90" height="150" align="right" />
</td>
<td class="fixedtable">
<img src="images/aga-cosmetics.jpg" alt="aga cosmetics" width="90" height="150" align="right" />
</td>
<td class="fixedtable">
<img src="images/aga-installations.jpg" alt="aga installations" width="90" height="150" align="right" />
</td>
<td class="fixedtable" >
<img src="images/regions-covered.jpg" alt="aga south west" width="90" height="150" align="right" />
</td>
</tr>
【问题讨论】:
-
请同时发布相应的HTML。
-
我试图但不让我
-
td> -
对不起,我只能输入这么多文字了..
-
如我所见,您的问题不在于图像,而在于整个部分分散得太远。我怀疑这与“过渡”DTD 声明有关。尝试改用“strict”,看看是否有同样的问题。
标签: css internet-explorer