Problem with whitespace before doctype

后端 未结 8 1739
迷失自我
迷失自我 2021-01-19 00:45

I got some strange problem where i have 2 copies of same website in 2 different folders. In one of those 2 copies has whitespace before doctype declaration so i have problem

8条回答
  •  离开以前
    2021-01-19 01:13

    You may not believe but I have a MAGIC way to solve this problem:

    Upload your documents (which are included before ) on your host using File Manager of CPanel, then choose the document and Click "Edit" to see the source code of the document. Then press Ctrl+Home then press Delete!

    You see that nothing will be deleted but that hidden white space!! Save your document and you will notice that everything is OK now.

    I do this for all of my projects

提交回复
热议问题