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

40 CSS/JS style and functional technical processing

1- Styling dropdown select boxes - Modify the dro...

Detailed explanation of Vue monitoring attribute graphic example

Table of contents What is the listener property? ...

Use Python to connect to MySQL database using the pymysql module

Install pymysql pip install pymysql 2|0Using pymy...

Raspberry Pi msmtp and mutt installation and configuration tutorial

1. Install mutt sudo apt-get install mutt 2. Inst...

Implementation of deploying war package project using Docker

To deploy war with Docker, you must use a contain...

How to use vue.js to implement drag and drop function

Preface Adding drag and drop functionality is a g...

A "classic" pitfall of MySQL UPDATE statement

Table of contents 1. Problematic SQL statements S...

In-depth understanding of React Native custom routing management

Table of contents 1. Custom routing 2. Tab naviga...

CSS--overflow:hidden in project examples

Here are some examples of how I use this property ...

The difference between name and value in input tag

type is the control used for input and output in t...

Reasons and solutions for slow MySQL query stuck in sending data

Because I wrote a Python program and intensively ...