W3C home > Mailing lists > Public > www-validator@w3.org > May 2003

Re: A minor improvement to the w3c validator

From: (wrong string) šper <christoph.paeper@tu-clausthal.de>
Date: Mon, 26 May 2003 14:25:03 +0200
Message-ID: <012201c32381$d6665590$3ef4ae8b@heim4.tuclausthal.de>
To: "W3C Validator" <www-validator@w3.org>

Terje Bless:
> scott kendall <scott@rio-oso.com> wrote:
>
>> [...] I'd like a simple red-light green-light test result.
>
> Or can anyone think of other ways to make this distinction more clear?

Maybe a colored border to the body element would do. Perhaps you want to add
some orangish one too, for pages that (only) validate with overridden or
defaulted doctype/charset.

  body.valid {border-color: green}
  body.semi-valid {border-color: orange} /* CSS3 */
  body.invalid {border-color: red}
  body {border-width: 8px; border-style: solid}

If the class attribute was allowed for the html element, you could also use
margin and background-color:

  html.valid {background-color: green}
  html.semi-valid {background-color: orange} /* CSS3 */
  html.invalid {background-color: red}
  body {margin: 8px}
Received on Monday, 26 May 2003 08:25:06 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:08 GMT