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

Detailed graphic explanation of sqlmap injection

Table of contents 1. We found that this website m...

Perfect solution for JavaScript front-end timeout asynchronous operation

Table of contents What happens if a piece of code...

A few front-end practice summaries of Alipay's new homepage

Of course, it also includes some personal experien...

The most common mistakes in HTML tag writing

We better start paying attention, because HTML Po...

MySQL query statement simple operation example

This article uses examples to illustrate the simp...

Tomcat Server Getting Started Super Detailed Tutorial

Table of contents 1. Some concepts of Tomcat –1, ...

jQuery implements form validation function

jQuery form validation example / including userna...

Interpreting MySQL client and server protocols

Table of contents MySQL Client/Server Protocol If...

Example of using Vue built-in component keep-alive

Table of contents 1. Usage of keep-alive Example ...

Detailed tutorial on installing MariaDB on CentOS 8

MariaDB database management system is a branch of...

Example of implementing the Graphql interface in Vue

Note: This article is about the basic knowledge p...