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

Wesley Mason wes at pmason.karoo.co.uk
Fri Jun 25 17:25:56 CDT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Another reason is when a background colour is inherited by the parent 
element, and you want to display a background behind behind the element 
inheriting it without it showing an opaque colour covering the elements 
whitespace.

- --
Wesley Aaron Mason
(1st Vamp)
Weblog from nowhere: http://1stvamp.org/
Webcomic from somewhere: http://gfbowl.com/
Public PGP/GPG Key: http://1stvamp.org/stuff/pgp


On Jun 25, 2004, at 10:47 pm, Stephen Rider wrote:

> I think it has a lot to do with the general rule of thumb:
> 	"Any time you specify a text color, also specify a background color."
>
> This is to avoid potential issues where a user might have set a 
> user-defined stylesheet that inadvertently mess up the display.  I 
> can't remember other reasons, but I do believe there were some....
>
> Steve
>
> On Jun 25, 2004, at 4:05 PM, Elly wrote:
>
>> I've been searching for the reason why I so often see "background: 
>> transparent" used when transparent is default for background-color.
>>
>> I assumed it must be for some older Windows browser bug, being only 
>> able to test conveniently on Mac browsers, and finally found this for 
>> Netscape 4 Windows, at the CSS Pointers Group, in the bugs section:
>> http://www.css.nu/pointers/bugs-nn.html
>> which has a few points about using background: transparent.
>>
>> I see it used with the link pseudo class selectors, and that is where 
>> I've always questioned using it, but never did since the standard 
>> shows transparent is default for background-color.
>>
>> I'm wondering why this is the only reference I've seen on using 
>> background: transparent when it seems unecessary, and would like to 
>> hear from others clarification on when and for what browser bug(s) 
>> this is used.
>>
>> Elly
>>   ------------------------
>> http://echozone.com
>>
>> -- 
>> * * Please support the community that supports you.  * *
>> http://evolt.org/help_support_evolt/
>>
>> For unsubscribe and other options, including the Tip Harvester and 
>> archives of thelist go to: http://lists.evolt.org Workers of the Web, 
>> evolt !
>
> -- 
> * * Please support the community that supports you.  * *
> http://evolt.org/help_support_evolt/
>
> For unsubscribe and other options, including the Tip Harvester and 
> archives of thelist go to: http://lists.evolt.org Workers of the Web, 
> evolt !
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFA3KZ4eOBnpCO+fW8RAtkmAKCs6GziUUWWqzOqqkQfzA6h1YqWaQCg0aTq
pdkoL4GJxDdB9I0KBZ04wOc=
=lTW9
-----END PGP SIGNATURE-----



More information about the thelist mailing list