Re: CSS2.1 'content', 404 Not Found, and audio files

>> Also, it seems we haven't defined fallbacks very well here. If the
>> resource at the URL cannot be loaded as a replaced element, the
>> content value should fail and fall back, not load half-baked
>> strings.
>> 
>> content: "Welcome to " url(welcome.png) "!";
> 
> That's a rather bad example, welcome.png is content not style here.

Why not? If the markup was something like:

   <h1>Welcome to Thailand</h1>

... and you want to replace 'Thailand' with a decorative image. Why 
wouldn't that be style?

And even if it was a bad example, error handling still has to be addressed.


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

Received on Thursday, 5 August 2004 01:52:00 UTC