W3C home > Mailing lists > Public > www-validator-css@w3.org > February 2008

Re: CSS VALIDATOR COMMENT

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Sun, 17 Feb 2008 19:37:04 +0200
Message-ID: <01b401c8718b$b93091e0$0300000a@DOCENDO>
To: "gs.salord" <gs.salord@laposte.net>, <www-validator-css@w3.org>

gs.salord wrote:

> Here is my style sheet, included in my XHTML code:
>
> <style type="text/css">

How did you pass it for validation?

> and here is the Validator comment:
>
>         URI : file://localhost/TextArea
>
> 1
> Lexical error at line 1, column 2. Encountered: "s" (115), after : "<"

You apparently passed a file containing the <style> element. You should 
pass either a style sheet (only) or an HTML (or XHTML) document's URL.

Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/ 
Received on Sunday, 17 February 2008 17:37:22 GMT

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