2016-04-21 41 views
-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 
+0

我的建議是在CSS lint中運行它http://csslint.net/ – Aaron

+0

也可以使用單獨的CSS文件並從您的html/php文件鏈接到它。 – Aaron

+1

沒有真正提供CSS我們如何建議? –

回答