Afficher un message
Vieux 02/03/2008, 15h02   #3
Jonathan N. Little
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Can't a CSS file start with a comment to be validated?

shapper wrote:
> Hello,
>
> I was validating an HTML page CSS with http://jigsaw.w3.org/css-validator/
> and I got multiple errors.
>
> The problem was that I my CSS seemed fine and I was not getting any
> detail about the errors.
>
> Then I removed the comment I had on the start of each CSS file and all
> the errors disappeared.
>
> Can't a CSS file start with a comment to be validated?


Sure it can. How did you comment? Hint: CSS is *not* HTML.

/* a CSS valid comment */

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
  Réponse avec citation
 
Page generated in 0,04847 seconds with 9 queries