[英]IE9 Empty Text Node
I'm building a site under PHP and it shows up well in Chrome, Firefox, IE7,8,9. 我正在使用PHP构建一个网站,它在Chrome,Firefox,IE7,8,9中显示得很好。 The problem is when I analyse the source code in IE9 (with IE9 standards) it is full of empty text nodes(every element has an empty node text right after closing).
问题是当我分析IE9中的源代码(使用IE9标准)时,它充满了空文本节点(每个元素在关闭后都有一个空节点文本)。 Is it because I'm using PHP includes?
是因为我使用PHP包含? For instance
index.php
include the header.php
and footer.php
... The files encoding is UTF-8 No Mark but I tried different ones... 例如
index.php
包括header.php
和footer.php
...文件编码是UTF-8 No Mark但我试过不同的...
Text nodes between elements are not empty. 元素之间的文本节点不为空。 They just contain whitespace (typically space, line feed, and tab characters).
它们只包含空格(通常是空格,换行符和制表符)。 It's perfectly fine.
这很好。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.