页面上的某些元素未在页面中心(FireFox)中保留。 [英] Some Elements on page are not Held in Center of Page (FireFox).

查看:100
本文介绍了页面上的某些元素未在页面中心(FireFox)中保留。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,我还在学习代码,我在这个页面上遇到了一些问题(仅限FireFox)。


http://adgraphics.us/ChannelLetters/ ChannelLetters.html


他们不在中心位置。我没有更改页面上的任何内容,它刚刚开始发生。它也刚刚开始发生在另一个页面上。有谁能告诉我代码的问题?



谢谢你,BeachKing

解决方案

< blockquote>我假设你的意思是它在IE中工作,但它是IE的问题。您缺少doctype,IE处于怪癖模式。永远不要使用IE作为工作方式的参考。它是这个星球上最糟糕的浏览器。


感谢您的回复。该页面在IE和Safari中运行良好,但不适用于FireFoex。有什么建议吗?请参阅链接以供您查看。

http:// adgraphics。我们/ ChannelLetters / ChannelLetters.html


谢谢


我已经告诉过你这个问题。你没有doctype。它在IE中的外观并不重要,直到它在现代浏览器中设置。把它作为你的第一行:

<!DOCTYPE HTML>


这会搞砸IE因为它不是现代浏览器而是帮助一切否则,但IE中存在大量问题。


Hello, I am still learning code, and I am having trouble with some elements on this page (only in FireFox).

http://adgraphics.us/ChannelLetters/ChannelLetters.html

They are way outside of center. I did not change anything on the page, it just started happening. It also just started happening to another page. Can anyone please show me the problem with the code?



Thank you, BeachKing

解决方案

I''m assuming you mean it works in IE but it is IE that is the problem. You are missing a doctype and IE is in quirks mode. Never, ever use IE as a reference for how things work. It''s the worst browser on the planet.


Thanks for your reply. The page works fine in IE and Safari, but not FireFoex. Any suggestions please? See link for your review.

http://adgraphics.us/ChannelLetters/ChannelLetters.html

Thank you


I already told you the problem. You don''t have a doctype. It doesn''t matter how it looks in IE till it''s set in the modern browsers. Put this as your first line:
<!DOCTYPE HTML>

That will screw up IE cause it''s not a modern browser but help everything else, but IEs multitude of problems are well documented.


这篇关于页面上的某些元素未在页面中心(FireFox)中保留。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆