页面一直延伸……一直延伸……一直延伸
令人惊讶的是,标题基本上解释了这一点。我们有一个客户制作的页面,我们正在重新创建该页面。
页面高度一直持续到(我假设是这样)浏览器达到其限制。我尝试过 firebug 和 W3 验证器,但它们都没有帮助。
这可能是由于未封闭的标签造成的吗?或者也许是她使用的这个生成器在脚本标签上粘贴了 ID,太恐怖了!。
任何建议都会很棒,我需要尝试这里的一切。谢谢。
Amazingly, the title basically explains it. We have a page that our client made which we are in the process of recreating.
The pages height just keeps going until (I am assuming this) the browser hits it's limit. I have tried firebug and W3 validator and they have both not helped.
Could this be down to unclosed tags? Or maybe the fact that this generator that she has used has stuck ID's on script tags, THE HORROR!.
Any suggestions would be great, I need to try everything here. Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
在第 193 行的页面源代码中,有这样的内容:
不知道是什么将该样式设置到该位置,但这就是导致问题的原因。如果您查看页面的右下角,您会看到
LINKS
这个 div 存在有什么理由吗?您可以删除它或删除样式的绝对位置元素。
In your page source at line 193 there's this:
Don't know what's setting that style to that position, but this is what's causing the problem. If you look in the very bottom right of your page you'll see
LINKS
Is there any reason for this div to exist? You could just remove it or remove the absolute position elements of the style.
这。疯了!!
就像 html 中其余的绝对位置一样。
即使隐藏了溢出,声明也写着:top 1,000,000 239,000,620 像素 HEIGHT,而 Left 的声明就像中世纪手稿一样晦涩难懂。
如果删除该句子,html 就会适合正文。希望您也修复其余的疯狂声明。
This. Is insane!!
Is just like the whole rest of the Position Absolute's that are throughout the html.
Even when there's overflow hidden, the declaration says: top 1 million 239 thousand 620 pixels HEIGHT and the declaration for Left is as obscure as a Medieval Manuscript.
If you delete that sentence the html fits in the body. Hope you fix the rest of crazy declarations as well.
我不知道。也许是
标签后面的
3
(嗯,可能不是)。尝试修复 W3C 验证器。I don't know. Maybe it's the
3
after the</html>
tag (well, probably not). Try fixing the errors reported by the W3C validator.