rails页面将不会完全显示(rails page won't display entirely)

编程入门 行业动态 更新时间:2024-10-13 14:21:32
rails页面将不会完全显示(rails page won't display entirely)

我遇到了最奇怪的问题,我希望有人能够指引我如何解决它(或者甚至找到它......)的正确方向。 我正在一个rails网站上工作,并且这些页面在大多数浏览器中都没有任何问题。 在其他人(美国在线,IE 6-7以及其他一些较少使用的人)中,页面将以所有正确的格式加载,但完全缺少内部内容。

例如,该网站使用传统的在线商店格式,但会加载网站名称,产品名称和页面页脚,但不会加载说明或图像。 这个问题已在多台计算机上重现,但我无法在ALL上找到它。

谢谢你的帮助!

I'm having the most peculiar problem, and I was hoping I someone could point me in the right direction on how to address it (or even locate it...). I'm working on a rails site, and the pages display in most browsers without any issues. In others (AOL, IE 6 - 7, and some of the other lesser used ones) the page will load, with all of the correct formatting, but completely missing the inside content.

For example, the site uses a traditional online store format, but will load the name of the site, the name of the product, and the page footer, but not the description or images. This issue has been reproduced on several computers, but I can't figure it out at ALL.

Thanks for any help!

最满意答案

我对这类问题的解决方法是使用浏览器来获取您要呈现的html(在Firefox中,View >> Page Source),并将其保存为静态html文件。 然后你可以一次一个地操作这个文件,直到你找出什么是IE的循环。

My approach to this sort of problem would be to use the browser to get the html you are trying to render (in firefox, View>>Page Source), and saving it as a static html file. Then you can fiddle with this file one piece at a time until you figure out what's throwing IE for a loop.

更多推荐

本文发布于:2023-07-15 07:15:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1111392.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:页面   rails   display   page

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!