search

Home  >  Q&A  >  body text

php - When deploying the website, a gray area appears in the header of the page. I don’t know what’s going on?

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:

欧阳克欧阳克2704 days ago879

reply all(4)I'll reply

  • PHP中文网

    PHP中文网2017-06-19 09:09:00

    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:

    reply
    0
  • 三叔

    三叔2017-06-19 09:09:00

    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>

    reply
    0
  • 習慣沉默

    習慣沉默2017-06-19 09:09:00

    Just remove the BOM header from all template files

    reply
    0
  • typecho

    typecho2017-06-19 09:09:00

    Keyword: BOM header

    reply
    0
  • Cancelreply