找到你要的答案

Q:What is the reason for my text go under footer?

Q:我的文本进入页脚的原因是什么?

I have this site

link

As you can see in the picture below ... go under footer text and not seen. I tried to inspect the code to figure out where the problem but unfortunately I have not found ...

You can help me solve this problem please?

Thanks in advance!

我有这个网站

链接

As you can see in the picture below ... go under footer text and not seen. I tried to inspect the code to figure out where the problem but unfortunately I have not found ...

你能帮我解决这个问题吗?

先谢谢了。

answer1: 回答1:

I'm pretty sure this is not a css problem. The reason I think this is the case is because some times the page loads and the page behaves fine. This inconsistent behavior can be caused because your javascript is not being told to execute only after all the DOM elements are being created.

make sure your javascript is being called in the footer of your site, or use document.ready(function(){}); to make sure your javascript is being executed after all the elements it is changing load. Otherwise the javascript will not find the right handles since they do not exist yet.

Check this resource for how to properly use javascript:

https://learn.jquery.com/using-jquery-core/document-ready/

I'm pretty sure this is not a css problem. The reason I think this is the case is because some times the page loads and the page behaves fine. This inconsistent behavior can be caused because your javascript is not being told to execute only after all the DOM elements are being created.

确保你的JavaScript是在网站的页脚,或使用文件准备(function() { });确保您的JavaScript被之后的所有元素是改变负载的执行。否则,JavaScript会不会找到正确的处理,因为它们还不存在。

检查这一资源,如何正确地使用JavaScript:

https://learn.jquery.com/using-jquery-core/document-ready/

html  css