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

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 UTC