溢出:在<th>IE 7,8中可见不起作用



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

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

我还尝试将表格的tr、tbody、table和div容器设置为overflow:visible,但我仍然看到截断的图像,而不是在表格边界上溢出图像。

我让它在ie7中工作了。

尝试添加position:relative。
我的代码是这样的:

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

希望对你有帮助。

最新更新