Home  >  Article  >  Web Front-end  >  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
WBOYOriginal
2016-06-24 12:13:171065browse

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

Statement:
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