W3C home > Mailing lists > Public > www-style@w3.org > March 2005

Re: Stand-in color before images load

From: Laurens Holst <lholst@students.cs.uu.nl>
Date: Wed, 30 Mar 2005 20:54:26 +0200
Message-ID: <424AF5E2.7020207@students.cs.uu.nl>
To: www-style@w3.org

Ben Curtis wrote:
>> Hmm... If you have a mechanism to specify alternate images... why not 
>> allow a colour as the last parameter?
>>
>> p { background: url("marble.png", "marble.gif"), transparent;  }
>>
>> or
>>
>> p { background: url("marble.png"), url("marble.gif"), transparent;  }
> 
> I like this a lot. How would it mesh with the multiple-backgrounds in 
> the CSS3 working draft? It uses the same basic syntax, although mixing 
> color with images.

Of course, my very objection against using this same notation for 
multiple backgrounds was exactly THAT it used a notation which was 
elsewhere used to denote alternatives (e.g. in font-family:, and content:).


~Grauw

-- 
Ushiko-san! Kimi wa doushite, Ushiko-san!!
Received on Wednesday, 30 March 2005 18:54:25 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:36 GMT