我在一个网站上工作,虽然在 Firefox 上显示它很好,但在 IE 上我遇到了很多问题。我使用了 w3c 验证器,但遇到了很多奇怪的错误。
这是网站的链接:http: //misenplacecatering.it/
我认为最相关的第一个验证错误是:
Byte-Order Mark found in UTF-8 File. The Unicode Byte-Order Mark (BOM) in UTF-8 encoded files is known to cause problems for some text editors and older browsers. You may want to consider avoiding its use until it is better supported.
和
Line 1, Column 1: Non-space characters found without seeing a doctype first. Expected <!DOCTYPE html>.
I've read other threads about this issue so I tried to open the file with different editors (I always use Vim, anyway), but I don't see any space or anything else before the doctype definition. I even used notepad++ and used an option to remove bom, but nothing.
Any suggestions?
Anyway,