Div 需要拉伸以包含内部 div
我一直在这里挖掘,但我尝试过的方法都没有奏效。我有一个页面,当内容太长时,包含的 div 不会延伸到页面底部。我几乎可以肯定问题与递给我的 div 汤有关。
http://www.edjetest11.com/supremeshowsupply.com /products.php?catid=1&subcatid=1
有人可以帮助我吗?
I've been digging around in here and none of what I've tried yet has worked. I have a page where the containing div will not stretch to the bottom of the page when the content gets too long. I am almost sure the problem has to do with the div soup that was handed to me.
http://www.edjetest11.com/supremeshowsupply.com/products.php?catid=1&subcatid=1
Can anyone help me, please?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
#box_inside
的样式设置了高度,以防止其扩展。如果删除它,它将扩展以包含其子级,并且外部 div 也会扩展。现在你的问题是背景图像是为了适应确切的尺寸......
The style for
#box_inside
has a height set, which keeps it from expanding. If you remove that, it will expand to contain its children, and the outer divs will also expand.Now your problem is that the background image is made to fit that exact size...