W3C home > Mailing lists > Public > www-validator-css@w3.org > January 2007

Parse Error if @Media is first line in style sheet

From: Douglas Perreault <doug@perreault.us>
Date: Tue, 2 Jan 2007 17:31:51 -0500
To: <www-validator-css@w3.org>
Message-ID: <04ff01c72ebd$cd06cca0$6400a8c0@perreault.us>
I have a style sheet that starts out with "@media screen" which comes up with a parse error.
If I add a style in before the @media screen, everything works fine.
The error I get is:
4	 ���	 Parse Error - ���@media screen { body { background-color:#FFFFFF } .nodisplay {display:none} }	
Any ideas?
The URL is  <http://login.ibba.org/inbliss.css> http://login.ibba.org/inbliss.css
Received on Wednesday, 3 January 2007 02:10:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 June 2012 00:14:18 GMT