为何html文件中前边的 声明前边有个点 页面顶部有空白
为什么html文件中前边的 声明前边有个点 页面顶部有空白
急!急!急!急!急!求解
------解决方案--------------------
看模板,或者php文件
这里有空白------解决方案--------------------
多半是BOM头在作怪
------解决方案--------------------
可以把代码保存为utf8无dom试试。
不过我觉得更大的可能是有个html标签没关闭,因为以前也遇到过这种情况,建议检查下标签是否都匹配且关闭了
------解决方案--------------------
我记得我遇到过这个问题,所来解决掉了。可是——现在想不起来是什么原因。。。
------解决方案--------------------
晕上面的话还没说完,不小心 ctrl+enter 了。
补充:
LZ 看看 body 标签是不是设置了 padding
第一个元素有没有设置 margin
再不行就用火狐右键查看元素,看看盒子模型,就能找出到底这个间隔是谁弄的。
------解决方案--------------------
$s = file_get_contents('http://www.1718jc.com/', false, null, 0, 10);<br />echo bin2hex($s);
这不是 BOM 头吗?还是两个!
------解决方案--------------------
bom头影响的,打开首页文件,去除bom头,如果不会,请留下联系方式
------解决方案--------------------
是啊,这个问题我们 之前也遇到过,很揪心的,用Dreamweaver另存为,去掉bom头选项就好了,啊哈

------解决方案--------------------
把文件新建一个然后代码复制过去后保存,然后替换该文件,妥妥的。

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

This is a guide to Nested Table in HTML. Here we discuss how to create a table within the table along with the respective examples.

Guide to Table Border in HTML. Here we discuss multiple ways for defining table-border with examples of the Table Border in HTML.

Guide to HTML margin-left. Here we discuss a brief overview on HTML margin-left and its Examples along with its Code Implementation.

Guide to HTML Table Layout. Here we discuss the Values of HTML Table Layout along with the examples and outputs n detail.

Guide to the HTML Ordered List. Here we also discuss introduction of HTML Ordered list and types along with their example respectively

Guide to Moving Text in HTML. Here we discuss an introduction, how marquee tag work with syntax and examples to implement.

This tutorial demonstrates how to efficiently process XML documents using PHP. XML (eXtensible Markup Language) is a versatile text-based markup language designed for both human readability and machine parsing. It's commonly used for data storage an

Guide to HTML Input Placeholder. Here we discuss the Examples of HTML Input Placeholder along with the codes and outputs.
