W3C home > Mailing lists > Public > www-validator-css@w3.org > August 2001

Problems validating .css files

From: Sosnowska, Xavier <Xavier.Sosnowska@ecb.int>
Date: Fri, 3 Aug 2001 17:25:08 +0200
Message-ID: <F77C182A27F0D111898E0008C7244C930A105808@gimexc02.ecb.de>
To: "'www-validator-css@w3.org'" <www-validator-css@w3.org>
Dear Sir or Madam,

I'm trying to use your css validator, as I'm already used to check my xhtml
pages with the other validator you provide and usability with Bobby.

However, if I upload the .css file it keeps saying that:
"To work as intended, your CSS style sheet needs a correct document parse
tree. This means you should use valid HTML." 
It also gives me a list called "valid css information". If I copy and paste
the list and upload it again, the validator keeps on giving me the same list
and tells me to use a correct document parse tree. I then never see the
message saying that this document is a valid css file, even when I simply
upload the list you provide after the first validation.
If I then try it another way and insert the style sheet in an xhtml document
(via the style or the link tag), it gives me other error messages (i.e.:
Parse error - Unrecognized : <html> <head> <title>European Financial Market
Lawyers Group Website</title> <style type="text/css">
BODY,P,#header,#top-nav,.main-index,#bottom-nav{ margin:0; background:#36F;
color:#FFF; font:x-small/1.2 Verdana,Helvetica,Arial,sans-serif;
text-align:justify; } 
I tried to find an answer in the documentation you provide but I could not
find it.
Would you then please be so kind as to tell me how I may test the css files?
Thank you in advance and kind regards.
Xavier Sosnowska - Web Site Administrator

Any e-mail message from the European Central Bank (ECB) is sent in good faith but shall neither be binding nor construed as constituting a commitment by the ECB except where provided for in a written agreement.
This e-mail is intended only for the use of the recipient(s) named above. Any unauthorised disclosure, use or dissemination, either in whole or in part, is prohibited.
If you have received this e-mail in error, please notify the sender immediately via e-mail and delete this e-mail from your system.
Received on Friday, 3 August 2001 11:26:52 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:40:30 UTC