php - When deploying the website, a gray area appears in the header of the page. I don't know what's going on?
欧阳克
欧阳克 2017-06-19 09:07:00
0
4
944

I wrote a website using html5, thinkphp, and bootstrap4.0beta. The homepage copied an online resource and tested it locally with phpstudy. The page effect is fine. But when deployed on Alibaba Cloud's lamp, a gray area appeared at the top of the page, which was very eye-catching. Guys, please help me find out what's going on. The website address is http://www.zhilianhe.info/zlh..., and the screenshot of the problem is as follows:

欧阳克
欧阳克

温故而知新,可以为师矣。 博客:www.ouyangke.com

reply all(4)
洪涛

There are extra characters in the html of your website homepage. It is recommended to check the template or the content output on the homepage
As shown in the picture:

三叔

1. There is an extra string of characters under the body of the homepage:

If I delete this string, it will be normal.

2. The code structure is unreasonable

This paragraph should be placed in <head></head>

習慣沉默

Just remove the BOM header from all template files

typecho

Keyword: BOM header

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template