0

我无法让 IE 将图像溢出到 . 我将图像的上边距设置为负值,并将溢出设置为可见:

#th_id img {
    margin-top: -25px;
}

#th_id {
    overflow: visible;
}

我还尝试将 tr、tbody、table 和 table 的 div 容器设置为溢出:可见,但我仍然看到截断的图像,而不是溢出到表格边框上的图像。Firefox 似乎显示正确。

4

1 回答 1

2

我让它在 IE 7 中工作。

尝试添加位置:相对。
我的代码看起来像这样。

#th_id img {
    position: relative;
    margin-top: -25px;
}

#th_id {
    position: relative;
    overflow: visible;
}

希望能帮助到你..

于 2013-02-26T03:53:15.070 回答