Re: Solving the alpha images and background-color problem

> background: red;
> background: transparent standincolor(red) url(foo.png);

background is a shorthand property, so this is equivalent to:

background-color: red;
background-color: transparent;
/* whatever the standalone equivalent of standincolor(red) is */
background-image: url(foo.png);

which is equivalent to:

background-color: transparent;
/* whatever the standalone equivalent of standincolor(red) is */
background-image: url(foo.png);

which for a browser with no image support but colour support, or
with images off and colour support, but without the new property is:

background-color: transparent;

Received on Saturday, 13 August 2005 22:39:42 UTC