in post <news:3fec107a$0$4739$61fed72c@news.rcn.com>
Neal said:
> I know transparent is an acceptable value for color,
its not.
> Where is it described on w3c.org?
http://www.w3.org/TR/REC-CSS2/colors.html

Signature
brucie
26/December/2003 08:49:32 pm kilo
Andrew Thompson - 26 Dec 2003 18:18 GMT
> in post <news:3fec107a$0$4739$61fed72c@news.rcn.com>
> Neal said:
[quoted text clipped - 3 lines]
> its not.
> http://www.w3.org/TR/REC-CSS2/colors.html
Huh! It'd never ocurred to me that 'transparent'
was not a valid _color_, but then, ..I'd never
wanted to set text invisible.
Why would you want to do that, Neal?
--
Andrew Thompson
* http://www.PhySci.org/ PhySci software suite
* http://www.1point1C.org/ 1.1C - Superluminal!
* http://www.AThompson.info/andrew/ personal site
David Dorward - 26 Dec 2003 18:34 GMT
>> > I know transparent is an acceptable value for color,
> Huh! It'd never ocurred to me that 'transparent'
> was not a valid _color_, but then, ..I'd never
> wanted to set text invisible.
> Why would you want to do that, Neal?
body { background-color: black; background-image: url(pretty.png); }
div { background-color: black; }
div#somediv { background-color: transparent; }

Signature
David Dorward <http://dorward.me.uk/>
Neal - 26 Dec 2003 20:37 GMT
> in post <news:3fec107a$0$4739$61fed72c@news.rcn.com>
> Neal said:
>
> > I know transparent is an acceptable value for color,
>
> its not.
I used "color" as a catch-all word while you thought of it as a specific
property as differentiated from say background-color. That's where our wires
were crossed.
> I know transparent is an acceptable value for color, but under what
> circumstances? Where is it described on w3c.org?
Ah... it depends.
In CSS 2, transparent is not an acceptable value for a color, however some
properties which accept a color as their value _also_ accept the
transparent keyword. This is desribed in the list of values for that
property.
For example:
'background-color'
Value: <color> | transparent | inherit
However, in CSS 3, this (may) changes, and 'transparent' becomes a colour.

Signature
David Dorward <http://dorward.me.uk/>
Neal - 26 Dec 2003 20:34 GMT
> > I know transparent is an acceptable value for color, but under what
> > circumstances? Where is it described on w3c.org?
[quoted text clipped - 12 lines]
>
> However, in CSS 3, this (may) changes, and 'transparent' becomes a colour.
Ah, now I remember. You can use it for background-color because it's the
default. It would make no sense to have transparent "color" for the text,
hmm.