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

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

From: Justin Wood <jw6057@bacon.qcc.mass.edu>
Date: Thu, 05 Aug 2004 03:22:30 -0400
Message-ID: <4111E036.2070702@bacon.qcc.mass.edu>
To: Anne van Kesteren <fora@annevankesteren.nl>, W3C Style List <www-style@w3.org>

Anne van Kesteren wrote:

>
>>> 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.
>
>
...to add to that though, using relative z-index of course!

~Justin Wood
Received on Thursday, 5 August 2004 03:23:48 GMT

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