【问题标题】:Table spacing issue with IE9IE9的表格间距问题
【发布时间】:2011-10-04 10:13:55
【问题描述】:

请看http://www.cookandheat.com

我对右侧 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


【解决方案1】:

我刚刚在 broswer 实验室检查了这个。看来您已经解决了问题。

如我所见,您的问题不在于图像,而在于整体 部分展开得太远。我怀疑这与 “过渡”DTD 声明。尝试使用“严格”,看看是否 你有同样的问题。 – Aleks G 9 月 26 日 19:06

所有功劳归他所有!您应该删除此问题或自己回答。

【讨论】:

    猜你喜欢
    • 2011-07-27
    • 1970-01-01
    • 1970-01-01
    • 2013-02-08
    • 2011-06-20
    • 1970-01-01
    • 2012-07-25
    • 1970-01-01
    • 2023-03-28
    相关资源
    最近更新 更多