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;


  background-position: 150em 190em;

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:00:52 UTC