[thelist] What css browser bug needs "background: transparent"?

Tony Crockford tonyc at boldfish.co.uk
Sat Jun 26 01:19:12 CDT 2004

At 06:53 on Saturday, 26 Jun 2004, Elly wrote:

> On Jun 25, 2004, at 10:19 PM, Tony Crockford wrote:
>> At 22:05 on Friday, 25 Jun 2004, Elly wrote:
>>> I've been searching for the reason why I so often see "background:  
>>> transparent" used when transparent is default for background-color.
>> It's not about bugs AFAIK, its about validation.
>> I use background-color: transparent to stop being warned about the  
>> "need to specify a background-color whenever color is specified".

> Not sure how you're getting that, since I can also submit an element or  
> class with color specified, and no background color, with warnings set  
> to "All" in w3.org's css validatior, and all comes out clean.

Most likely it's because I (and maybe others too) use Topstyle, which  
warns wherever if finds color set without background-color set.

IIRC early incarnations of the W3C validator didn't distinguish either.


More information about the thelist mailing list