W3C home > Mailing lists > Public > www-validator-css@w3.org > November 2006

Re: no background-color but i have

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Mon, 20 Nov 2006 21:47:45 +0200 (EET)
To: Kosa Gergely <zippanto@inf.elte.hu>
cc: www-validator-css@w3.org
Message-ID: <Pine.GSO.4.64.0611202146220.27236@mustatilhi.cs.tut.fi>

On Mon, 20 Nov 2006, Kosa Gergely wrote:

> the validator says
> Line : 151 (Level : 1) You have no background-color with your color : img#logo
> but I have, it is transparent, what is the problem than?

No, transparent is not a color. It is a keyword indicating the absence of 
any color, i.e. the background of the enclosing element shines through. 
And that is the problem: that background might be set (e.g., by a user 
style sheet) to anything, including the color of your text, or something 
close to it.

Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/
Received on Monday, 20 November 2006 19:47:59 UTC

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