页面一直延伸……一直延伸……一直延伸

发布于 2024-10-04 01:38:38 字数 235 浏览 2 评论 0原文

令人惊讶的是,标题基本上解释了这一点。我们有一个客户制作的页面,我们正在重新创建该页面。

页面高度一直持续到(我假设是这样)浏览器达到其限制。我尝试过 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

℡Ms空城旧梦 2024-10-11 01:38:38

在第 193 行的页面源代码中,有这样的内容:

<div id="txt_2179" style="position:absolute; left:13150228px; top:1239624px; width:-832166px; height:-1239624px;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box; overflow:hidden;"> 
  <p class="Body-P"><span class="Body-C">LINKS</span></p> 
</div>

不知道是什么将该样式设置到该位置,但这就是导致问题的原因。如果您查看页面的右下角,您会看到 LINKS

这个 div 存在有什么理由吗?您可以删除它或删除样式的绝对位置元素。

In your page source at line 193 there's this:

<div id="txt_2179" style="position:absolute; left:13150228px; top:1239624px; width:-832166px; height:-1239624px;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box; overflow:hidden;"> 
  <p class="Body-P"><span class="Body-C">LINKS</span></p> 
</div>

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.

那伤。 2024-10-11 01:38:38
<div style="position: absolute; left: 1.31502e+7px; top: 1239620px; -moz-box-sizing: border-box; overflow: hidden;" id="txt_2179">
<p class="Body-P"><span class="Body-C">LINKS</span></p>
</div>

这。疯了!!
就像 html 中其余的绝对位置一样。

即使隐藏了溢出,声明也写着:top 1,000,000 239,000,620 像素 HEIGHT,而 Left 的声明就像中世纪手稿一样晦涩难懂。

如果删除该句子,html 就会适合正文。希望您也修复其余的疯狂声明。

<div style="position: absolute; left: 1.31502e+7px; top: 1239620px; -moz-box-sizing: border-box; overflow: hidden;" id="txt_2179">
<p class="Body-P"><span class="Body-C">LINKS</span></p>
</div>

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.

你的背包 2024-10-11 01:38:38

我不知道。也许是 标签后面的 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文