-1
我正在使用validator.w3.org并出现错误。为什么这个错误发生在 css?任何人都有建议去除这个错误。Css验证器给出了不允许的错误
Line 1, Column 1: character "*" not allowed in prolog
Line 20, Column 2: character "m" not allowed in prolog
**m**argin: 20px 0 0 20px;
Line 31, Column 2: character "b" not allowed in prolog
**b**ackground-image: -webkit-gradient(
Line 57, Column 1: character "{" not allowed in prolog
Line 113, Column 2: character "w" not allowed in prolog
width: 90px;
Line 133, Column 2: this is not an SGML document
我的建议是在CSS lint中运行它http://csslint.net/ – Aaron
也可以使用单独的CSS文件并从您的html/php文件链接到它。 – Aaron
没有真正提供CSS我们如何建议? –