W3C home > Mailing lists > Public > www-style@w3.org > September 2005

background-color 'transparent' not right valid with any color?

From: Chiaki <chiaki@dark-chiaki.net>
Date: Tue, 20 Sep 2005 00:42:36 +0200
Message-Id: <207159339@web.de>
To: www-style@w3.org


Hi all,

it seems to be a problem to use background-color as 'transparent' while setting the color to any value.
The CSS Validator validates the whole CSS definition but still gives a warning that no bgcolor is set.

<style ...><!--
body { background: #ffffff url(/bg-main.jpg) no-repeat fixed 50% 50%;}
td { background-color: transparent; color: blue;}
--></style>

To show you what I mean, I created a test page:
<http://dark-chiaki.net/w3c/style/style-error-032.php>
Just click the CSS-image to get the page validated.

Anyone who can help?

Best regards,
Chiaki.
Received on Monday, 19 September 2005 22:42:47 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:40 GMT