WP 主题页面在 IE 中显示,但在 Firefox 中不显示
你好 我遇到了 WPTheme 问题,页面未在 Firefox 中显示,我已尝试修复此问题,但到目前为止我不明白为什么&没有成功修复它! (奇怪的是,它在 Internet Explorer 浏览器中显示应有的样子)
该页面/站点可以在 我的 wponlinethemetest 站点
我很感谢您帮助解决这个问题&期待有用的回复。谢谢
Hi
I have a WPTheme problem with a page not displaying in Firefox and I have tried to fix this but so far I cannot see why & have had no success in fixing it!
(strangely it displays as it should in Internet Explorer browser)
The page/site can be seen at my wponlinethemetest site
I am grateful for help to fix this & look forward to helpful replies. Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
首先要做的就是通过 W3C 验证器 运行代码。这将显示 HTML 中的错误;有很多,所以我不会在这里详细介绍它们,但我相信一旦你整理好它们,页面应该在所有浏览器中呈现得更好。
希望有帮助。
Well, the first thing to do is run your code through the W3C Validator. This will show you the errors in your HTML; there are quite a few, so I won't go through them here, but I believe once you've tidied them up, the page should render better in all browsers.
Hope that helps.
感谢斯普德利的回复。
我确实通过验证器运行了代码看到它给出了大约 200 个错误。
我认为其中大部分来自 WordPress php/template 标签代码!
这可能吗?
原始的index.html 文件通过了验证。
后来我发现在我的 WP 循环中调用 div 中包含的注释/注释块存在问题。
当我更改此设置时,页面布局恢复正常!问题解决了。
再次感谢您的有用回复
Thanks Spudley for your reply.
I did run the code through the validator & saw it give out around 200 errors.
Most of these I presume are from WordPress php/template tag code!
Is that possible?
The original index.html file passed validation.
I later found there wasa problem with a call to comments/commentblock enclosed in divs within my WP loop.
When I changed this the page layout resorted to normality! Problem solved.
Thanks again for your helpful reply