Re: Fallbacks

>>>What about:
>>>
>>>   background-image: url(white), url(black);
>>>   background-color: white, black;
>>>   color: black, white;
>>>
>>>...? Should 'color' be linked to background-* as well?
>>
>>   background-image:url(white);
>>   /* assuming that isn't a 404 image */
>>   background-color:white;
>>   color:black;
> 
> 
> What about if white is 404? What about if black is 404 too? Or if images
> are disabled?

If white is 404 the only property that will change its value is 
'background-image' -> "url(black)".

If both the images return a 404 the only property that will change its 
value is 'background-image' -> "none".

Disabling images will have the same effect as when all images are not 
found, see above.


-- 
  Anne van Kesteren
  <http://annevankesteren.nl/>

Received on Thursday, 15 April 2004 14:13:42 UTC