我无法让 IE 将图像溢出到 .我将图像的上边距设置为负值并将溢出设置为可见:
#th_id img {
margin-top: -25px;
}
#th_id {
overflow: visible;
}
我还尝试将表格的 tr、tbody、表格和 div 容器设置为溢出:可见,但我仍然看到被截断的图像,而不是溢出在表格边框上的图像。 Firefox 似乎显示正确。
最佳答案
我让它在 IE 7 中运行。
try to add position:relative.
My code looks like this.
#th_id img {
position: relative;
margin-top: -25px;
}
#th_id {
position: relative;
overflow: visible;
}
hope it helps..
关于html - 溢出 :visible not working in <th> IE 7, 8,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15080107/