Home > Web Front-end > HTML Tutorial > There is always one more line after the include file is published_html/css_WEB-ITnose

There is always one more line after the include file is published_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:13:17
Original
1121 people have browsed it

Every time an html page is converted into a template page that is a shtm page, there will be an extra blank line in the include file, but I just don’t know why. I’m confused and depressed! ! ! Experts, please help me, thank you


Reply to the discussion (solution)

Well, this is a problem, I have encountered it before, but I didn’t think of a way to solve it .

Ah, no, isn't it?

You can debug what appears in the empty line. Is it the spacing or something occupying the position?

It appears in the empty line. It's something like " ", but you can't see it on the page

1. Check the encoding problem
2. Check what the binary is (nodepad has a plug-in to see it)

View encoding issues? Oh, okay, I'll give it a try, thank you

It's an encoding problem, use editplus to convert it

No BOM
No BOM
No BOM

By encoding, does it mean utf-8 or gb2312?

That’s why I edit the included files with Notepad. This won’t happen every time I edit in dw

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template