HTML div 与页脚重叠
我一直盯着这个页面的萤火虫:
http://www.comehike。 com/outdoors/parks/park.php?park_id=54603
我不明白为什么右侧与底部 div 重叠。可能是因为对我来说已经过了午夜,但有人能告诉我出了什么问题吗?
谢谢, 亚历克斯
I keep staring with firebug at this page:
http://www.comehike.com/outdoors/parks/park.php?park_id=54603
and I can't figure out why the right side is overlapping with the bottom div. It might be because it is past midnight for me, but could anyone tell what is going wrong there?
Thanks,
Alex
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
删除
之后的
div
中的 。请注意,手动向 HTML 添加style
信息始终是个坏主意,您应该使用类来实现这一点。另外,有些语法看起来乱码:
应该是:
Remove the
in the containing
div
, that comes after<!-- End of photos from this park -->
. Note that it's always a bad idea to manually addstyle
information to HTML, you should rather use classes for that.Also, some of the syntax looks garbled:
should be:
您有一个高度设置为 325px 的 DIV;
删除高度或在CSS中设置overflow:hide/scroll将解决这个问题。
You have a DIV with a height set of 325px;
Removing the height or setting overflow:hide/scroll in CSS will fix this.