W3C home > Mailing lists > Public > www-validator-css@w3.org > July 2004

Re: Validation error messages

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Tue, 20 Jul 2004 19:55:53 +0200
To: "Lisa" <yoyo@nicelytoasted.net>
Cc: "www-validator-css@w3.org" <www-validator-css@w3.org>
Message-ID: <41125c62.305079070@smtp.bjoern.hoehrmann.de>

* Lisa wrote:
>I'm having a little trouble understanding the meaning
>of one of my validation errors: 
>
>Invalid number : background-positiononly 0 can be a length.
>You must put an unit after your number : 150 190
>
>Can someone point me to an explanation of the error messages, please?

You have

  background-position: 150 190;

You must specify a unit for these numbers, e.g.

  background-position: 150px 190px;

or

  background-position: 150em 190em;

I guess you want the "px" version.
Received on Tuesday, 20 July 2004 13:56:33 GMT

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