W3C home > Mailing lists > Public > www-style@w3.org > August 2004

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

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Thu, 05 Aug 2004 08:03:36 +0200
To: Anne van Kesteren <fora@annevankesteren.nl>
Cc: www-style@w3.org
Message-ID: <411ecc92.994525041@smtp.bjoern.hoehrmann.de>

* Anne van Kesteren wrote:
>>> 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?

You can't replace anything with the content property in CSS 2.1,
it applies to :before and :after only.
Received on Thursday, 5 August 2004 02:05:09 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:14 UTC