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

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

From: Anne van Kesteren <fora@annevankesteren.nl>
Date: Thu, 05 Aug 2004 08:22:59 +0200
Message-ID: <4111D243.9070802@annevankesteren.nl>
To: Bjoern Hoehrmann <derhoermi@gmx.net>
Cc: www-style@w3.org

>> 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.

Although you could use the 'position' property to position ':before' or 
':after' on top of the element.


-- 
  Anne van Kesteren
  <http://annevankesteren.nl/>
Received on Thursday, 5 August 2004 02:23:45 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:13:07 UTC