我这里有一个网站:bgflirt.com .问题是包含 flash 和其他内容(右侧)的 div 必须能够溢出父元素。但是父元素应该 overflow hidden 。结果是每当中间的 div 没有更多内容可显示时,右侧的 div 就会被剪切。如何让正确的 div 溢出父 div?所以我可以在右侧看到整个菜单?
最佳答案
一个快速的解决方法是为#content 添加一个最小高度:
#content {
min-height: 500px;
}
关于html - DIV溢出问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4589127/