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;}

To show you what I mean, I created a test page:
Just click the CSS-image to get the page validated.

Anyone who can help?

Best regards,
Received on Monday, 19 September 2005 22:42:47 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:20 UTC