There is an extra blank line after the html page uses include to import the php file

There is an extra blank line after the html page uses include to import the php file
The method found on the Internet works

The footer and header files introduced by include have an extra blank line on top, which really affects the appearance. There is no problem if you just put the imported file in.

Later I thought that the reason why I used to use Gb2312 encoding and this time used Utf-8 might be related to this.

Many people say that it may be due to CSS padding settings, etc., but this is not the case for me. Finally found that it was caused by Unicode signature (bom).

Specific modification method : Open the footer or header, then click "Modify" in Dreamweaver, select "Page Properties", "Title/Encoding", and uncheck the box that includes the unicode signature (bom).

<<:  Advantages and disadvantages of common MySQL storage engines

>>:  B2C website user experience detail design reference

Recommend

How to install JDK and Mysql on Ubuntu 18.04 Linux system

Platform deployment 1. Install JDK step1. Downloa...

Vue realizes dynamic progress bar effect

This article example shares the specific code of ...

Summary of MySql storage engine and index related knowledge

Storage Engine What is a database storage engine?...

Vue-cli creates a project and analyzes the project structure

Table of contents 1. Enter a directory and create...

How to install Docker CE on Ubuntu 18.04 (Community Edition)

Uninstall old versions If you have installed an o...

Vue implements simple slider verification

This article example shares the implementation of...

Eight implementation solutions for cross-domain js front-end

Table of contents 1. jsonp cross-domain 2. docume...

vue-element-admin global loading waiting

Recent requirements: Global loading, all interfac...

Some issues we should pay attention to when designing a web page

Web design, according to personal preferences and ...

How to implement dual-machine master and backup with Nginx+Keepalived

Preface First, let me introduce Keepalived, which...

CocosCreator implements skill cooling effect

CocosCreator realizes skill CD effect There are s...

MYSQL METADATA LOCK (MDL LOCK) theory and lock type test

Table of contents MYSQL METADATA LOCK (MDL LOCK) ...

Some slightly more complex usage example codes in mysql

Preface I believe that the syntax of MySQL is not...